home *** CD-ROM | disk | FTP | other *** search
/ FishMarket 1.0 / FishMarket v1.0.iso / fishies / 401-425 / disk_415 / cbbs / cbbs.lzh / docs / manual.bbs < prev    next >
File List  |  1990-11-19  |  152KB  |  3,564 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.                           ***************************
  18.                           ***  THE C-BBS MAILBOX  ***
  19.                           ***    Version 6.7      ***
  20.                           ***************************
  21.  
  22.  
  23.  
  24.  
  25.  
  26.  
  27.  
  28.  
  29.  
  30.       1.   Getting Started, What to look for
  31.       2.   The Configuration File
  32.       2.1  Bulletins
  33.       3.   The Forward File
  34.       3.1  Hierarchical forwarding
  35.       3.2  Using STATES.EXE
  36.       4.   Commands (user and sysop)
  37.       5.   Prtlog, Printer, and Files used
  38.       6.   Log, List, and Distributation Files
  39.       7.   Protocols (bid's, zip's, sid's, sending)
  40.       8.   Desqview operation
  41.       9.   Modem usage
  42.       10.  Restoring mail file, Mail format, Hold and Listing messages
  43.       11.  Archiving messages
  44.       12.  Sysop Maintenance
  45.  
  46.       Appendix A. Changes.mb
  47.       Appendix B. Config.mb
  48.  
  49.  
  50.       (c) 1988, 1989, 1990, CBBS Group
  51.  
  52.                       INTRODUCTION AND PURPOSE
  53.  
  54.     This is the documentation  for the  C-BBS Mailbox system.   It  is
  55.     based on code originally  written by  Hank Oredson.   It is  being
  56.     continued by a small  group of packet  programmers so that  sysops
  57.     will have the source  code available.   The purpose  is simply  to
  58.     allow sysops to  use, learn,  and understand  the "C"  programming
  59.     language and it's use in running  the C-BBS Mailbox system.   This
  60.     way the code can be customized to suit sysop needs.  Also, as bugs
  61.     are found, it allows the sysop to  search the source code for  the
  62.     necessary corrections. The use of any module or  section  of  code
  63.     for any distribution beyond the  C-BBS mailbox is prohibited.  All
  64.     the modules are copyrighted by the  CBBS GROUP.  It may  be copied
  65.     for non-commerical  use  as  long  as  all  copyright  notices are
  66.     included.
  67.  
  68.     Be forewarned that only the RELEASE versions of this software will
  69.     be supported.  Bug reports and enhancements are appreciated.  This
  70.     is a group  effort  and  as  such,  more  time  is  available  for
  71.     comments.
  72.  
  73. Chapter 1 ------------------ GETTING STARTED ------------------------- Page 1
  74.  
  75.        ************************************************************
  76.        ***  C-BBS MailBox and GateWay  Version 6.7 - 9/20/90    ***
  77.        ************************************************************
  78.  
  79. A: [CBBS-6.71-H$]
  80.  
  81.      This code was initially created for packet community by:
  82.  
  83.           Hank Oredson, W0RLI
  84.  
  85.     Hank, however, no longer supports the  CBBS code.  He is  allowing
  86.     it to  be  developed  by  others  interested  in  furthering  this
  87.     version.  He is developing a new code that is not associated  with
  88.     this CBBS program.  Dave, VE3GYQ had released version 4.4 of  this
  89.     code and K3RLI  and AG3F  have released versions  4.6 and  beyond.
  90.     This is the latest version.
  91.  
  92.     You may obtain versions of the code in several ways.
  93.  
  94.      1. Download from Compuserve HamNet or
  95.  
  96.      2. Send a diskette mailer to
  97.   
  98.         Edward T. Picchetti, K3RLI
  99.         355 Ridge Road
  100.         Wilkes-Barre, Pa. 18702
  101.  
  102.  
  103.     A special thanks to those who send little chunks of code with bug
  104.     fixes or new features. WA3TSW, VE5VA
  105.  
  106.     Thanks also to VE3GYQ for the GateWay code, AA4RE and WA7MBL  for
  107.     the IBM port drivers.
  108.  
  109.     The code will run  under DOS  for for single  user application  or
  110.     under DESQview for multiple  user applications.   DoubleDos is  no
  111.     longer supported for multiple  user setups.   Under DESQview  103k
  112.     window size  is required  unless the  bbs dos  command feature  is
  113.     desired then 150k window  size is  necessary.  A  640k pc/xt  will
  114.     support   3   windows   without    the   dos   command    feature.
  115.  
  116.     This version of  the  code represents  a significant  change  from
  117.     previous issues.   The   method  of  handling  the  mailfile   and
  118.     individual message files is all new and the communication  between
  119.     copies of the BBS is  now done  without the need  for the  "pipe".
  120.     These changes result in  the ability to  reconstruct the  mailfile
  121.     from the individual messages thus providing security from  crashes
  122.     and failures.  The use of mailfiles  and user files common to  all
  123.     copies provides many conveniences.
  124.  
  125.  
  126.     Please read  the following  documentation  to get  things  set  up
  127.     properly.  This code will not run using previously successful file
  128.     and directories.  Appendix A  will  give  more  detail  as to  the
  129.     revisions from previous versions of the code.
  130.  
  131. Chapter 1 ---------------- GETTING STARTED --------------------------- Page 2
  132.  
  133.  
  134. B: CODE DISTRIBUTION
  135.  
  136.     The code as distributed is broken  down into sections so that  you
  137.     can select the areas  that you  need for your  requirements.   For
  138.     normal operation of the bbs the modules RUNxx.ZIP and IOxx.ZIP are
  139.     all that are necessary.  The other modules provide the source code
  140.     for those interested  in  making their  own modifications  to  the
  141.     code.  All  modules, both  run  and source,  are provided  in  ZIP
  142.     format and must be uncompressed by use of PKUNZIP.
  143.  
  144. C: WORKING WITH THE SOURCE CODE
  145.  
  146.     It is expected the those  using the provided sources are  familiar
  147.     with "C" language, 8088 assembler  notation and the  manuipulating
  148.     of compilers, assemblers and linker.
  149.  
  150.     All developement work has been done with the Microsoft C  compiler
  151.     version 4.10.  Some Microsoft specific library functions are used,
  152.     these functions should exist  with  any C  compiler.   The  names,
  153.     arguments, and required header files for these functions might  be
  154.     different with other compilers.  All  of these differences  should
  155.     appear in the module MBIBM.C.   The Microsoft  C compiler  version
  156.     5.01 has also been used successfully but the distributed code  was
  157.     produced with version 4.10.  Turbo  C and Quick  C have also  been
  158.     used by others with good success  after some syntax  modification.
  159.  
  160.     File MB.BLD has been  provided to utilize  the Microsoft  MAKE.EXE
  161.     file maintance utility to compile, assemble  and link the  various
  162.     modules that make up the bbs code.  It is recommended that this be
  163.     utilize but CC.BAT has also been supplied to permit compiling of a
  164.     single module and  LINK.MB is  provided to work  with LINK.EXE  to
  165.     form the entire linked package.
  166.  
  167.     Microsoft MASM  versions 4.0  and  higher have  been  utilized  to
  168.     assemble the I/O and other modules that require it.
  169.  
  170. D: USING THE RUN CODE
  171.  
  172.     The following  steps will  be required  to get  the bbs  operating
  173.     using the provided run  code.   Please notice that  you have  many
  174.     options for configuring the hardware and  software.  The  examples
  175.     shown are only illustrative and are not the only way to do this.
  176.  
  177.  1: Extract the files from the ZIP files if this has not already  been
  178.     done.  This is accomplished  by using the  command  PKUNZIP  RUN65
  179.     for the run files and  PKUNZIP  IO51 for the  I/O routines.   This
  180.     will produce numerous files from which you will select only a  few
  181.     depending upon your desired system configuration.
  182.  
  183.  2: Decide how your system will be configured.  How many tncs will you
  184.     have? Will the tncs be arranged so  that each can be connected  to
  185.     independantly of the others or when one is in use will the  others
  186.     be unavailable for a connect or  is a combination of both  methods
  187.     desired? As an example we  can have  3 tncs,  A, B, and C.  If  we
  188.     decide that only one tnc at a time is to be connected, then we can
  189.     configure to run under DOS without multi- tasking enviornment.  If
  190.     we would prefer  all tncs  to operate independantly  then we  must
  191.     configure for DESQview and  provide 3 windows,  one for each  tnc.
  192.  
  193. Chapter 1 ---------------- GETTING STARTED --------------------------- Page 3
  194.  
  195.     We can also decide to have tnc A be  independant and B and C  work
  196.     as a pair.  This arangement requires 2 DESQview windows with tnc A
  197.     operating from one and tncs B  and C operating  out of the  other.
  198.     This setup  will permit  connects  on tnc  A  and either  B  or  C
  199.     simultaneously.  Many  other combinations  are possible  depending
  200.     upon the number of tncs, serial ports  and system memory.  In  any
  201.     case, decide upon this arangement now.
  202.  
  203.  3: Setup a directory structure based upon your system  configuration.
  204.     This is  discussed   in  more  detail   in  another  section   but
  205.     essentially you must have the following files included:
  206.  
  207.     mb.exe
  208.     bios.com based upon the number of tncs(eg. br3bios.com for 3 ports)
  209.     mbmode.exe
  210.     hand.com
  211.     share.exe  **
  212.     config.mb for each window (eg. config.a, config.b, etc)
  213.     mail.dat & user.dat (Converted files from older version)
  214.     fwd.mb
  215.     states.mb
  216.     info.mb and help.mb
  217.     mon.mb for each window (Created by the mailbox)
  218.     log.mb for each window (Created by the mailbox)
  219.     calls.mb for each window (Created by the mailbox)
  220.  
  221.     A typical setup for the example above would be the following
  222.     directories and their files:
  223.  
  224.     \mb                     \mb\bbs                      \mb\msgs
  225.     mb.exe                  mail.dat
  226.     mbmode.exe              user.dat                        all
  227.     br3bios.com             info.mb                      message
  228.     config.a                help.mb                        text
  229.     config.bc               fwd.mb                         files
  230.     hand.com                mon.a
  231.     share.exe               mon.bc                       mbrestm.exe
  232.                             calls.a
  233.                             calls.bc
  234.                             log.a
  235.                             log.bc
  236.                             states.mb
  237.     ** share.exe is on your dos distribution disk for dos 3.0+
  238.  
  239.  4: Prepare the configuration or configurations based upon the desired
  240.     system setup.  Detail of how to do this follows in another section
  241.     but make sure the file specification section of the configurations
  242.     follows the directory structure  decided upon above  and the  port
  243.     section also follows the system setup.
  244.  
  245.  5: Setup the directory structure and  copy the proper files to  these
  246.     locations.  If  you are  a new  user  only the  files in  the  \mb
  247.     directory and info.mb  and help.mb  in \mb\bbs  will be  required.
  248.     The bbs program will create the necessary other files.  For  those
  249.     of you with operating older versions of the code, the mail,  user,
  250.     fwd, log, msg, etc files should be copied to the proper  directory
  251.     and renamed if necessary.  Even if there are no message files,  as
  252.     in the case of a new  user, make sure  the \mb\msgs directory  has
  253.     been created.
  254.  
  255. Chapter 1 ----------------- GETTING STARTED -------------------------- Page 4
  256.  
  257.  
  258.  6: Prepare a suitable batch file to initialze the serial port(s)  and
  259.     bring up the bbs.  A single window  operation for 3 tncs:
  260.  
  261.     TIMER -> Your time and date program.         CONFIG.SYS
  262.     BR3BIOS                                        FILES = 20
  263.     MBMODE COM1:4800,N,8,1                         BUFFERS = 20
  264.     MBMODE COM2:4800,N,8,1
  265.     MBMODE COM3:4800,N,8,1
  266.     CD \MB
  267.     MB
  268.  
  269.     An example of this file when used with Desqview (Multi-windows):
  270.  
  271.     DATETIME -> Your time and date program.         CONFIG.SYS
  272.     BR3BIOS                                        FILES=30
  273.     MBMODE COM1:4800,N,8,1                         BUFFERS=20
  274.     MBMODE COM2:4800,N,8,1                         STACKS=9,128
  275.     MBMODE COM3:4800,N,8,1
  276.     HAND
  277.     SHARE /F:2048 /L:64
  278.     CD \DV
  279.     DV
  280.  
  281.     These batch  files  can  exist  independantly  and  be  called  by
  282.     AUTOEXEC.BAT or can be made part of AUTOEXEC.BAT.  In either  case
  283.     the bbs will reboot upon power  outages.  If  this is not  desired
  284.     keep this batch file independant of AUTOEXEC.BAT.
  285.     The cable between the tnc  and computer should have pins  2,3,4,5,
  286.     6,7,8, and 20 connected.   Hardware flow control  is used in  both
  287.     directions.  Configure the TNC's using the appropriate .SET  file,
  288.     TNC1.SET for a tnc1, TNC2.SET for  a tnc2, PK232.SET for a  pk232.
  289.     The parameters differ depending on the type of tnc you are  using.
  290.     
  291.  8: If you are not using DESQview and  are using only a single  window
  292.     disregard the rest of this section.  Add a copy of the mb  program
  293.     for each window used.  This is done with the AP selection from the
  294.     open window menu.  Enter  the path, program  name and  parameters,
  295.     plus set correctly all of the options on both normal and  advanced
  296.     options.  See the section  on use of  DESQview for those  details.
  297.     In addition in the advanced menu set the window heigth, width, row
  298.     and column  to place  the bbs  copy in  the desired  place on  the
  299.     screen.  For a 1 or  2 window  system the defaults  are ok  (split
  300.     screen) but for more than 2 copies consideration must be given  to
  301.     this.  For the 2 window 3 tnc example of above the main AP entries
  302.     are:
  303.  
  304.     window 1
  305.     Program name   <A--145.01>
  306.     Key  M1          Memory size  150
  307.     Program  MB
  308.     Parameters  config.a
  309.     Directory   C:\MB
  310.  
  311.     window 2
  312.     Program name   <BC--145.07, 221.11>
  313.     Key  M2          Memory size  150
  314.     Program  MB
  315.     Parameters  config.bc
  316.     Directory   C:\MB
  317.  
  318. Chapter 1 ----------------- GETTING STARTED -------------------------- Page 5
  319.  
  320.     Prepare the DESQview startup script file  and place it in the  \DV
  321.     directory.  This  file  is desqview.dvs  and  should  contain  the
  322.     proper  scripts  to  open  the  number  of  windows  used  by  the
  323.     configuration.  The section describing the use of DESQview  covers
  324.     this technique.  In our example above for the 2 windows the script
  325.     should open M1 pause 30 and then open M2 before finishing.
  326.  
  327. 10: Convert the  mailfile  and message  files  if you  have  an  older
  328.     version running.  If you are a 1st  time user this section can  be
  329.     bypasssed.  This  represents  the  most  significant  change  from
  330.     version  4.6  of  the  code  and  should  be  followed  carefully.
  331.  
  332.     If you are now running  a version  prior to 4.0  you must  convert
  333.     your  existing  message  and  user  files  to  version  4  format.
  334.       First, backup all files in the directory used by the MailBox. In
  335.     case something goes wrong, you will be able to restore  everything
  336.     to where it was without loss of messages.
  337.  
  338.     The conversion  from earlier  versions  to version  4 is  done  by
  339.     MBCONV.  Set the default directory to the directory containing the
  340.     MAIL.DAT and USER.DAT files.  Then run MBCONV.
  341.       If you are running a version prior to  3.0 you  must first  make
  342.     certain that the message text has been moved to individual  files.
  343.     Do this by executing the GF command.
  344.  
  345.     ** FOR VER 4.6 **** and prior converted versions do the following:
  346.  
  347.       From the operating bbs DO a GM and then quit the board. Now  the
  348.     final conversion to the new format can be performed.  This version
  349.     of the CBBS  code requires  that the individual  message files  be
  350.     converted to a new format.  The program MBCONVM.EXE is provided to
  351.     do this conversion.
  352.       The program expects the mailfile, MAIL.DAT to exist in directory
  353.     \mb\bbs and that  the  individual message  files be  in  directory
  354.     \mb\msgs.
  355.  
  356.     Copy MBCONVM.EXE into the \mb\msgs directory  and then invoke  the
  357.     program by typing MBCONVM <return>.   This program  will read  the
  358.     MAIL.DAT file and the  corresponding message files  and produce  a
  359.     converted MAIL.DAT as  well  as converted  message  files.    When
  360.     completed the new MAIL.DAT  will reside in  \mb\bbs directory  and
  361.     the modified message files in \mb\msgs as was the case previously.
  362.       If MAIL.DAT wasn't found in \mb\bbs the program will ask for the
  363.     directory containing MAIL.DAT.   You  can then  enter  the  proper
  364.     directory name.  The program will procede  with the conversion  if
  365.     it does find  MAIL.DAT.    If  it  does  not  it  will  abort  the
  366.     conversion and report that it could not find the file.  You should
  367.     check the directory setup  and the location  of MAIL.DAT and  then
  368.     start the conversion  again using the  invocation MBCONVM  \xx\sss
  369.     where \xx\sss  is  the  actual  directory  location  of  MAIL.DAT.
  370.  
  371.     If the mail file had already been converted the program will abort
  372.     the conversion and report accordingly.
  373.  
  374. 11: All should be  ready  now.   Either  reboot the  computer  if  the
  375.     startup batch file  is associated  with autoexec.bat  or type  the
  376.     name of the batch file.
  377.  
  378. Chapter 1 ---------------- WHAT TO LOOK FOR -------------------------- Page 6
  379. (BBS LOADING)
  380.  
  381.  When you load the bbs program your screen should look something like this:
  382.  
  383.        TNC commands on                                TNC commands off
  384.  
  385.  <A>   Window 1 portflag 1                            <- same
  386.  <B>   C                                              aAbB for two ports
  387.  <B>   Link state is DISCONNECTED
  388.  <B>   cmd:
  389.  <C>   XX calls in \mb\bbs\CALLS.MB                   <- same
  390.  <D>   XX users in \mb\bbs\USER.DAT                   <- same
  391.  <E>   [MM] XXXXX free space, XXXXX used.             <- same
  392.  <F>   Set for DESQview.
  393.  <G>   m on
  394.  <G>   MONITOR was off                                 ABABAB
  395.  <G>   cmd:cono on
  396.  <G>   CONOK was off
  397.  <G>   cmd:
  398.  
  399.  
  400.      <A> This line is used by the handshaking program to detect ports
  401.          active, and total ports used by the bbs. If you are using  a
  402.          single bbs, it is not necessary.
  403.      <B> This takes a tnc state, and insures the tnc is  disconnected.
  404.          A line appears for each port used by the bbs.
  405.      <C> This line indicates the number of calls in the CALLS.MB  file
  406.          up to the max listed in the config. When you hit the  maximum
  407.          it will also say (file is full).
  408.      <D> This line indicates the number of users in USER.DAT
  409.      <E> Tells the amount of free space of memory, and the  amount  to
  410.          be used by the mailbox. If you are using DESQview, you  might
  411.          want to adjust the window size to not waste memory space.
  412.      <F> Only shows up if you are set for DESQview in the config.mb If
  413.          this line shows up and you are not using DESQview, change the
  414.          DESQview line in the config to OFF.
  415.      <G> Shows the monitor and conok being turned on to allow monitor-
  416.          ing and connects for each port used by the bbs.
  417.  
  418.     NOTES:
  419.     <B><G> If you have the port configuration line  in  the  config.mb
  420.            set with a '3' ( don't monitor tnc commands )  in it, these
  421.            lines will only show as a lower or upper case letter.
  422.            If you hang at this point, your tnc is not setup right,  or
  423.            your cable is not connected properly. You  need  at  least,
  424.            ECHO OFF, MONITOR OFF, AUTOLF OFF, AWLEN 8,and PARITY 0 set
  425.            into the tnc.
  426.     <E>    If you display "Too little memory available." You need more
  427.            memory. Add in 4k increments to window. [MM] = log month.
  428.  
  429.     At this point  the  bbs  is  active, and  ready  for  connects  or
  430.     monitoring the frequency.  You can  now hit a  ^E (control E)  and
  431.     log onto the bbs.  the bbs will turn off the monitor and turn  off
  432.     conok in the tnc and show you the sysop prompt.
  433.  
  434.     880711/0350, 1011, 100 msgs>
  435.  
  436.     You are now ready to enter any commands. The prompt line shows you
  437.     the DATE/TIME,  the  highest  message  number,  and  the number of
  438.     messages on the bbs if you use the one in the sample config.
  439.  
  440. Chapter 2 ---------------- CONFIGURATION FILE ------------------------ Page 1
  441.  
  442.  
  443.                   ********************************
  444.                   ***  The Configuration File. ***
  445.                   ********************************
  446.  
  447.     The file CONFIG.MB is a text file that contains all  site-specific
  448.     parameters.  Edit it to have the proper parameters for your  site.
  449.     
  450.     The form $x is a variable text field.  The "$x" is replaced by the
  451.     current value for that text. These variables can be used  anywhere
  452.     in the configuration file.
  453.  
  454.      $A - @ BBS of the current message.
  455.      $B - Type of current message.
  456.      $C - Next available message number.
  457.      $D - The current date.
  458.      $E - The message title (used for RFC822 headers)
  459.      $F - Name of "other port", as used in the M, U, and C commands.
  460.      $G - TO of the current message.
  461.      $H - Hang at end of line (suppress carriage return).
  462.           Use at end of line only. DO NOT USE on lines that go to tnc.
  463.      $I - Users name, from user file.
  464.      $J - Date from current msg header
  465.      $K - Time from current msg header.
  466.      $L - Number of the last message.
  467.      $M - Message number from current msg header.
  468.      $N - Number of active messages.
  469.      $O - Sysops callsign.
  470.      $P - FROM from current msg header.
  471.      $Q - Sysops QTH
  472.      $R - Call in a "connect request:" from either TNC.
  473.      $S - Call of the end node station connected via the slave TNC.
  474.           Seen initially in "*** CONNECTED to:" when the adjacent node
  475.           connects, may be seen in "*** LINKED to:" from the adjacent node.
  476.      $T - The current time.
  477.      $U - User callsign.
  478.      $V - Display the software version.
  479.      $W - Name of the "other user" in GateWay mode. (See $F and $S).
  480.      $X - Date user last logged in.
  481.      $Y - Time user last logged in.
  482.      $Z - Last message number when user last logged in.
  483.      $a - BBS of origination of message.
  484.      $j - Date message was entered at originating BBS.
  485.      $h - Hierarchical forwarding list.
  486.      $k - Time message was entered at originating BBS.
  487.      $m - Message number at originating BBS.
  488.  
  489.                      *************************
  490.                      ***  CONFIG.MB  LINES ***
  491.                      *************************
  492.               *** LOOK at the sample in Appendix B ***
  493.  
  494.  
  495. The first section (to the first *** EOF) is the port configuration info.
  496. Two lines per port.
  497. The first line contains the port definition, the second line the port name.
  498. The port definition line is made of several fields, seperated by spaces:
  499.  
  500. Chapter 2 ------------------ CONFIGURATION FILE ---------------------- Page 2
  501. (Continued)
  502.  
  503. Field 1:
  504.   The first character is the Port ID,
  505.   the second and following characters give information about the port:
  506.  
  507.     B - BBS only may connect.
  508.     C - This port is the local console.
  509.     D - File download allowed from this port.
  510.     E - This port requires echo. (True only for the console.)
  511.     G - GateWay use is allowed to this port.
  512.     I - Kick off user that connects using illegal call.
  513.     L - This port requires LF after CR.
  514.     M - Monitoring is allowed to this port.
  515.     R - Remote sysop allowed on this port (if user marked as sysop).
  516.     S - This is a raw serial port (another system or a terminal).
  517.     T - This port has a TNC with TAPR commands connected.
  518.     U - File upload allowed from this port.
  519.     X - TNC can use transparent mode for connects.
  520.     1 - Echo monitored packets to the console.
  521.     2 - Echo user data and forwarding to the console.
  522.     3 - Echo TNC commands to the console.
  523.  
  524. Field 2: Connect timeout, in seconds.
  525. Field 3: Disconnect timeout, in seconds.
  526. Field 4: Monitor timeout, in seconds.
  527. Field 5: Max lines allowed in monitor.
  528. Field 6: Number of entries retained in J list.
  529. Field 7: Number of digipeaters allowed on connect.
  530. Field 8: Minute of the hour to attempt forwarding.
  531. Field 9: Number of command errors allowed before user kicked off.
  532. Field10: Seconds to wait in forward when a timeout occurs before continuing.
  533.  
  534. The second section (to the second *** EOF) is directory path definitions.
  535.   Three lines per path.
  536.  
  537.   The first line is a single character path ID,
  538.   followed by "D" if downloading is allowed, and "U" if uploading is allowed.
  539.   The second line is the path, with trailing '\'.
  540.   The third line is the name of the path, as shown to the user.
  541.  
  542. The third section (to the third *** EOF) is the "@ BBS" translation list.
  543.   Each line has two fields, the first is the @ BBS as received,
  544.   the second is what to translate it to. Also Bulletin no user read check.
  545.   For example; to remove your own call from the @ BBS field of all messages,
  546.   simply include one line with just your call on it.
  547.  
  548. The fourth section (to the fourth *** EOF) is the "hold calls" list.
  549.   Any message entered TO, FROM, or AT one of these calls will
  550.   be held (not forwarded) until the status is changed to N by the sysop.
  551.  
  552. The fifth section (to the fifth *** EOF) is the login message.
  553.   Keep it short. Maximum is 255 characters.
  554.  
  555. The next line is the "bbs and expert user" prompt. Keep it SHORT!
  556. The next line is the remote sysop prompt. Keep it SHORT!
  557. The next line is the normal MailBox prompt.
  558. The next line is your call.
  559. The next line is your QTH.
  560. The next line is the call of your local WP server. (Place a blank line
  561.                   ( here if you do not wish to generate updates to WP.)
  562.  
  563. Chapter 2 ------------------ CONFIGURATION FILE ---------------------- Page 3
  564. (Continued)
  565.  
  566.  
  567. The next line is the file name to use for the help (H) text.
  568. The next line is the file name to use for the info (I) text.
  569. The next line is the file name to use for the auto-forwarding file.
  570. The next line is the file name to use for the log file for each window.
  571. The next line is the file name to use for the "J" list file for each window.
  572. The next line is the file name to use for the mail file.
  573. The next line is the file name to use for the mail backup file.
  574. The next line is the file name to use for the user file.
  575. The next line is the file name to use for the user backup file.
  576. The next line is the directory to put the message files in.
  577. The next line is the file name to use for the BID file.
  578. The next line is the file to put monitored calls into for each window.
  579. The next line is the file name to use for states.mb
  580.  
  581. The next line is the maximum number of monitored calls to save.
  582. YES xx Where xx is the time to compress the mail file after 0000z.
  583. YES Using DesqView. NO to NOT give idle time.
  584.  
  585. The next 3 lines control prompting for user information.
  586. YES to prompt user to enter his name.
  587. YES to prompt user to enter his home MailBox.
  588. YES to prompt user to enter his ZIP or postal code.
  589.  
  590. The next five lines control logging. (what goes into LOG.MB).
  591. YES to turn on logging. Only connects/disconnects are logged.
  592. YES to turn on GateWay event logging.
  593. YES to turn on file transfer logging.
  594. YES to turn on message event logging.
  595. YES to turn on logging of local commands.
  596.  
  597. The control character to use to kick user off system.
  598. The control character to use to return from talk.
  599. The control character to use to interrupt and go to talk.
  600. The control character to use to take the MailBox off-line.
  601.  
  602. Prompt before continue at end of page of output.
  603.  
  604. The next line is sent to the console each time a prompt is sent to the user.
  605. The next line is sent to the user when a connect request occurs.
  606.  
  607. The next line is the message to send when
  608. you break into a MailBox session to talk to the user.
  609.  
  610. The next line is the response to the user when he wants to talk to you.
  611.  
  612. The next line is the message to send when
  613. you are not available to talk to the user.
  614.  
  615. The next line is the message to the console when the user wants
  616. to talk to you.
  617. The next section, one line per message, is the GateWay messages:
  618. Message when GateWay not available.
  619. Message going into unproto mode.
  620. Message when attempting a connect.
  621. Message when connect fails.
  622. Message to master tnc when connect succeeds.
  623. Message when connect attempt aborted by user.
  624. Message to send to master when entering monitor mode.
  625.  
  626. Chapter 2 ------------------ CONFIGURATION FILE ---------------------- Page 4
  627. (Continued)
  628.  
  629. The next section, one line per message, is the message and file prompts.
  630. Prompt for title of message.
  631. Prompt for message text.
  632. Message to send at login if user has new mail.
  633. Message list header. Observe columns if you change.
  634. Line to pre-pend to a forwarded message.
  635. Message to send to console when untangle and file empty.
  636. Message to send to console when starting an untangle.
  637. Message to send as each msg deleted with KM.
  638. Prompt to edit TO.
  639. Prompt to edit AT BBS.
  640. Prompt to edit TITLE.
  641. Prompt to edit TYPE.
  642. "This message is not NTS traffic".
  643. Max # of calls in BT "unread mail" list. (Use 1 for no beacon.)
  644. Max # of calls in forwarding "unread mail" list.
  645. YES to enable auto-kill of normal messages after auto-forward.
  646.      (NO leaves the message with status set to 'F').
  647. YES to enable auto-kill of "F" & "B" type messages after auto-forward.
  648. YES to generate a service message on KT.
  649. YES (to enable the ET command.) YES (to put ping-pong messages on hold.)<----
  650. Number of days a bulletin is when it is called old. Follow by YES if auto-kill.
  651.   ( Days1 Read1  Days2 Read2  Days3 Read3 added to line above) <------
  652. Number of days a NTS message is when it is called old. YES is auto-kill.
  653. Number of days a user message is when it is called old. "   "   "    "
  654. Prompt for file text.
  655. Default user name.
  656. Message when compress user file.
  657. Header for list of user records.
  658. Prompt to delete user record.
  659. The next section, one line per message, is the error/status messages:
  660. Reminder to user that he has not entered his name.
  661. Reminder to user that he has not entered his home MailBox.
  662. Reminder to user that he has not entered his ZIP or postal code.
  663.  
  664. Message for I/O error.
  665. Message for "can't find it".
  666. Message for protection violation (tried to read private msg etc.).
  667. Message for "file exists, and you can't erase it".
  668. Message for timout.
  669. Message for "I didn't understand the command you gave".
  670. Message for done (command completed).
  671. Message for "There ain't no such port".
  672. Message for "There ain't no such directory".
  673. Message for "No such file."
  674. Message for "No such message."
  675. Message for "Port is in use."
  676. Password ( 64 characters for remote sysop use )
  677.  
  678. Chapter 2 ------------------ CONFIGURATION FILE ---------------------- Page 5
  679.  
  680.  
  681. NOTES
  682. -----
  683. FIRST SECTION --  PORT PARAMETERS - a space defines fields.
  684.                    The console must be the last configuration line.
  685. Field 1:
  686.     Any number of characters  can  be used.   Certain  characters  are
  687.     necessary, such as 'T' for tnc ports, 'C' and 'E' for the  console
  688.     port.  'B', 'D', 'U', 'G',  'I', 'L', 'M',  and 'R' are  optional.
  689.     The '1,2,3' are  used for  display purposes, and  control what  is
  690.     echo'd to the screen.   IF  you are using  DESQview, TNC  commands
  691.     should be  turned off  to speed  up the  display, therefore  there
  692.     should be no '3' in the line.
  693.  
  694.     The 'R' must be in  the line if the  PORT is to  used by a  remote
  695.     sysop.  Additionally a remote sysop must be designated in the user
  696.     file.   The  'S'  is  used  for  a  serial  port-modem  operation.
  697.     Auto-answer must be set in the  modem, and  the user  signs on  by
  698.     typing '*** Connected to <user call>. (See Chapter 9)
  699.  
  700. Field 2:
  701.     The timeout for the  bbs waiting  for a  response from  a user  or
  702.     another bbs.  It should be  long enough to handle mail  forwarding
  703.     thru net/rom's to receive the  other bbs's prompt after a  message
  704.     is sent.
  705.  
  706. Field 3:
  707.     The timeout to wait after a disconnect has been issued to the  tnc,
  708.     and the bbs going back on-line.
  709.  
  710. Field 4:
  711.     The amount of time to spend in the Gateway while monitoring another
  712.     port.
  713.  
  714. Field 5:
  715.     The maximum amount of lines monitored while in the Gateway.
  716.  
  717. Field 6:
  718.     The number of calls shown in the  'J' lists.(Must be at least 1)
  719.  
  720. Field 7:
  721.     The maximum number of digipeaters that a user can use for  connects
  722.     to the bbs. This only applies for users and not for bbs's & sysop's
  723.     marked in the user file.
  724.  
  725. Field 8:
  726.     The minute of the hour to start forwarding. It is also  the  minute
  727.     that an auto-compress (GM) will take place. This should be slightly
  728.     different between windows for smooth DESQview operation.
  729.  
  730. Field 9:
  731.     The number of errors that a user can make before the bbs disconnects
  732.     him. (i.e. Number of *** WHATS?)
  733.  
  734. Field 10:
  735.     The number of seconds for the bbs to wait when forwarding to a  bbs
  736.     and your disconnected, and then start to forward  to  another  bbs.
  737.     Allows the tnc to dump all of the data that it has loaded into it.
  738.  
  739. Chapter 2 ----------------- CONFIGURATION FILE ----------------------- Page 6
  740. (Continued)
  741.  
  742.  
  743.               *****************************************
  744.               *** ALTERNATE DISPLAY OF TNC COMMANDS ***
  745.               *****************************************
  746.  
  747.     If you leave out the 3 in the port configuration in config.mb, you
  748.     will not see the tnc commands on the  bbs.  What  you will see  is
  749.     the PORT Configuration LETTER (a,b,c) of where the tnc command  is
  750.     going.  If the tnc accepts the command  it will be in upper  case;
  751.     if not it will be  in lower  case.   This is  useful when  running
  752.     multiple copies of  the bbs  under desqview, as it speeds  up  the
  753.     screen display, and makes things work faster.
  754.  
  755.  
  756. THE THIRD SECTION --  @BBS TRANSLATION LIST
  757.  
  758.     The @ bbs translation list a list of calls to be translated by the
  759.     bbs whenever a message is entered.  This will happen if a user  is
  760.     entering a message or you are being forwarded a message by another
  761.     bbs.
  762.  
  763.     K3RLI            ---> K3RLI is changed to spaces.
  764.     USA     CHECK    ---> USA is changed to CHECK
  765.     PAWEST  NEPBBS   ---> PAWEST is changed to NEPBBS.
  766.     RT2N    NEPBBS   ---> RT2N is changed to NEPBBS.
  767.     ALLPA   PANET    ---> ALLPA is changed to PANET.
  768.     98*     AG3F     ---> Zip 98xxx is changed to AG3F.
  769.     *** EOF
  770.  
  771.  
  772.     You can make the list as long as  you want, and include wild  card
  773.     matching.  What happens  is that  the @BBS field  is changed  from
  774.     whatever is in the first field to whatever is in the second field.
  775.     This  can  be  helpful  in  redirecting  certain  bulletins  to  a
  776.     distribution list.  In the example above, PAWEST, RT2N, and  ALLPA
  777.     are all changed to  NEPBBS when  the message is  received, and  if
  778.     NEPBBS was a distribution list,  then ALL PAWEST, RT2N, and  ALLPA
  779.     would follow that distribution.
  780.  
  781.     By having your call changed to spaces will allow the bbs to  strip
  782.     off your call  in  the  @BBS  field  and  then  have  the  message
  783.     forwarded to the TO field if it is in your forward file.
  784.  
  785.  
  786. THE FOURTH SECTION -- HOLD CALLS LIST
  787.  
  788.     This section is  a list  of calls  or  just the  word hold.    Any
  789.     message entered on the bbs with one of these calls will be  marked
  790.     with a status of 'H'.   Sysop intervention  is necessary to  clear
  791.     this message  with the  edit  message command  to remove  the  'H'
  792.     status.
  793.  
  794. Chapter 2.1 ------------------ BULLETINS ---------------------------- Page 1
  795.  
  796.  
  797.                        AUTOMATIC BULLETIN PURGING
  798.  
  799.     Thanks to WA3TSW for comming up with this method.  It allows  your
  800.     users to determine when a bulletin  is marked as killed or  stale.
  801.     Let's take a  look at the  line in  the config that  will set  the
  802.     guidelines for bulletin purging.
  803.  
  804.     30 YES  4 2  7 4  14 10  <- Line for bulletins
  805.     14 NO                    <- Line for NTS messages
  806.     14 NO                    <- Line for Private messages
  807.  
  808.     In the line for Bulletins, We  first say that  the longest time  a
  809.     bulletin will last  before being  killed  is 30  days.   The  "30"
  810.     represents the number  of days  and the  "YES"  means mark  killed
  811.     instead of stale. This is the LAST test of a bulletin.
  812.  
  813.     Following that, the next two numbers represent 'days'  and  'read'
  814.     of a bulletin. In this case, we are saying that a bulletin MUST be
  815.     read at least "2" times in the next  "4" days.   If your users  do
  816.     not read this bulletin at least "2"  times after "4" days it  will
  817.     be marked killed.  The  next set  of numbers is  another test;  In
  818.     this case we say that after "7" days, this bulletin should be read
  819.     at least "4" times or it will be killed.  And finally the last set
  820.     of numbers; After 14 days, this bulletin has to read at least  "6"
  821.     times or it will be killed.  A  sysop can now  allow his users  to
  822.     determine how long a bulletin will stay on the system.
  823.  
  824.     For a small mailbox with only a few users you might want to make a
  825.     line like this with some other examples.
  826.  
  827.     30 YES 7 2 14 3 21 4        This will allow your bulletins to last
  828.                                 longer on the system with fewer reads.
  829.  
  830.     30 YES 30 1 30 1 30 1      This will allow no purging of bulletins
  831.                                until the whole "30" day period is up.
  832.  
  833.     This method will work on all bulletins of type "B".  To allow some
  834.     classes of bulletins  NOT to  be  purged, we  allow the  sysop  to
  835.     classify some distributions.   This  is  done in  the  "swap  bbs"
  836.     section of the config.(Third Section - @BBS Translation list)
  837.     The method used follows.
  838.  
  839.     K3RLI
  840.     KB3UD WB3DTG
  841.     ARL ARL       <- New (No user read check)
  842.     AMSAT AMSAT   <- New (No user read check)
  843.     *** EOF
  844.  
  845.     In this example, K3RLI is swapped to spaces to have the "@bbs"  of
  846.     K3RLI changed to spaces.   Anything  @KB3UD will be  swapped to  @
  847.     WB3DTG.  So far everything is the  same as before.   Now with  ARL
  848.     swapped to ARL, and AMSAT swapped to AMSAT nothing really  changes
  849.     but ALL ARL and AMSAT bulletins  will not be  purged, and will  be
  850.     held till only the  LAST test.   Again,  in this  example ARL  and
  851.     AMSAT bulletins will be killed after  "30" days with no user  read
  852.     check.  Also,  when listed by  the  sysop,  the  status  of  these
  853.     bulletins will show up as '$' instead of 'N'or 'F'.
  854.     
  855. Chapter 2.1 ------------------- BULLETINS --------------------------- Page 2
  856. (Continued)
  857.  
  858.  
  859.     This process now  gives  a  sysop a  good  method  of  controlling
  860.     bulletins.  By putting  bulletin distributions in  the "swap  bbs"
  861.     section of the config, he allows  those bulletins to last for  the
  862.     maximum number of days he wants.  And further, now can have  users
  863.     determine how long a bulletin lasts based on how many times it has
  864.     been read.
  865.  
  866.     A sysop can edit a bulletin to either '$' or 'O' (stale).   Making
  867.     a bulletin 'O' (Stale) will allow the bulletin to stay on the  bbs
  868.     until killed by having the sysop use  the "KO" (Kill Stale) or  "K
  869.     Message #".  Likewise editing a  bulletin to '$'  will keep it  on
  870.     the bbs  till the  last test.(First  number of  day's on  bulletin
  871.     config line.) In our example that's 30 days.
  872.  
  873.     Bulletin purging gets checked during the first auto-forward  after
  874.     0000z of the  new day.   So,  if the  mailbox is  busy with  users
  875.     nothing happens till you get the first auto-forward to take place.
  876.     Bulletins are then marked as stale or killed, but are not  deleted
  877.     until a 'GM' or auto-GM takes place.
  878.  
  879.     When bringing  up this  version  (6.71), most  of  your  bulletins
  880.     should already  be  marked  with  a status  of  '$'  from  earlier
  881.     versions used.  This is because in earlier versions the '$' status
  882.     was used a a  bulletin forwarding  completion flag.   Now the  '$'
  883.     status indicates that the bulletin  will last for the entire  time
  884.     without any user read  checks.   So  you will  have to  edit  your
  885.     present bulletins or kill them  manually to get  them off the  bbs
  886.     sooner.  All NEWLY  received bulletins  will follow  the tests  of
  887.     (days)(read) in the config.   Make  sure you edit  your config  to
  888.     include the new values before starting version 6.71.
  889.     
  890. Chapter 3 ------------------ FORWARD FILE ---------------------------- Page 1
  891. (Revision C)
  892.  
  893.      Automatic forwarding of messages to other MailBox systems.
  894.  
  895.     The file  FWD.MB contains  information that  drives the  automatic
  896.     forwarding of messages.  If the file does not exist, no forwarding
  897.     is done. This file can be changed or checked with the  YF command.
  898.     The file contains several kinds of information:
  899.  
  900.  
  901.  
  902.     1) Tnc parameter changes.
  903.     2) Command scripts.
  904.     3) Routing lines.
  905.     4) Message size line.
  906.     5) Forward lists.
  907.     6) Sublists.
  908.     7) Dos Commands.
  909.     8) Change Forward file
  910.  
  911.  
  912. 1) <<<<< TNC PARAMETER CHANGES >>>>>
  913.  
  914.     "P" lists are commands to be sent to the TNC.  The character after
  915.     the P is which port ("A" for COM1, "B" for COM2, etc.).  The  list
  916.     is terminated with "*** EOF".   One of  these lists might  preceed
  917.     each "G" list to set the TNC parameters to be used for the forward
  918.     attempt.  There should be a "P" list at the end of the FWD.MB file
  919.     to reset TNC parameters back to default.  "P" lists can also  have
  920.     a time window.
  921.  
  922.     Examples  follow:
  923.  
  924.                           TIMED PARAMETERS
  925.  
  926.     PA                    PA0004 <-- Out the A port from 00 to 04
  927.     RE 3                  RETRY 3
  928.     FR 7                  FRACK 7
  929.     MAX 1                 MAXFRAME 1
  930.     *** EOF               *** EOF
  931.  
  932.  
  933.     Abbreviations can be used for TNC commands  as long  as they  work
  934.     with the TNC you are using.  Using them will speed  things  up  as
  935.     there would be less characters to send to the tnc.  Make sure  you
  936.     change the parameters back to normal at the end of the file.
  937.  
  938.  
  939.  
  940.                        *** TRANSPARENT MODE ***
  941.  
  942.     You can now use transparent mode for all connects and  for  reverse
  943.     forwarding. This will do two things.First it will stop the inbedded
  944.     *** CONNECT REQUESTS from appearing in messages on your bbs. Second
  945.     you will now be able to setup your tnc parameters so that users can
  946.     get information off the bbs faster. Like setting MAXFRAME = 4,  and
  947.     PACLEN = 128, will allow the tnc to send out 512 bytes  at  a  time
  948.     when a user is using the bbs.
  949.  
  950. Chapter 3 ------------------ FORWARD FILE ---------------------------- Page 2
  951. Transparent Mode (Continued)
  952.  
  953.  
  954.     Regular forwarding will still take place in converse mode.  If  you
  955.     want to block forward, then you can setup 'P' type commands in  the
  956.     forward file.
  957.  
  958.     Set things up at the beginning of the forward file.
  959.  
  960.          PA        Out to the A tnc.
  961.          MAX 2     Maxframe of 2.
  962.          FRAC 6    Frack of 6.
  963.          CP ON     {               }
  964.          CR OFF    { block forward }
  965.          SE $10    {               }
  966.          *** EOF
  967.  
  968.     Then restore things back to normal  at the end of the forward file.
  969.  
  970.          PA        Out the A tnc.
  971.          MAX 4     Maxframe back to 4
  972.          FRAC 4    Frack back to 4
  973.          CP OFF    {  Back     }
  974.          CR ON     { to normal }
  975.          SE $0D    {           }
  976.          *** EOF
  977.  
  978.     It is important that you use the BRBIOS with transparent  mode.  It
  979.     incorporates the send break command for the tnc. Also  important is
  980.     that you have the DCD line (pin 8 ) connected between the  tnc  and
  981.     the comm port. The TNC must change this line when it gets connected.
  982.     Otherwise, you will lock up the bbs. Note: TNC1's must be  modified
  983.     for the DCD line. MBBIOS should also work.
  984.  
  985.  
  986.  
  987. 2) <<<<< COMMAND SCRIPTS >>>>>
  988.  
  989.     Command scripts are supported through "C", "S", and "R" items.
  990.     The command script precedes the F, G, or H routing line that uses it.
  991.  
  992.          CC K3QFW-2
  993.          SC K3CR-2
  994.          RConn
  995.  
  996.     A "C" item gives the connect string
  997.     to send to the local TNC: -------------> CC K3QFW-2
  998.  
  999.     A "S" item is a line to send: ---------> SC K3CR-2
  1000.  
  1001.     A "R" item is a match for a partial
  1002.     expected response: Whole line ---------> RK3CR-2} Connected to K3CR-2
  1003.               or Partial response -----------------> RConn
  1004.  
  1005.     For ANY response being valid use: -----> R!
  1006.  
  1007.     Before making up the Command Scripts, you should manually  connect
  1008.     to where you want to go, look at  the responses, and then make  up
  1009.     the "R" lines for a match.
  1010.  
  1011. Chapter 3 ------------------ FORWARD FILE ---------------------------- Page 3
  1012. Command Scripts (Continued)
  1013.  
  1014.  
  1015.     There can only be ONE "C" item in a script, but may be as many "R"
  1016.     and "S" items as are required. As an example, the script for K3RLI
  1017.     using NET/ROM to connect with WA7SSO is:
  1018.  
  1019.         CC K3QFW-2          (This connects me to the local NODE)
  1020.         SC K3CR-2           (Connects to the NODE closest to WA7SSO)
  1021.         RConn               (Expected partial NODE response)
  1022.         SC WA7SSO           (This connects me to WA7SSO)
  1023.         RConn               (Expected partial NODE response)
  1024.         FA0023C WA7SSO      (Forward mail to WA7SSO from 00 to 23)
  1025.         WA7SSO              (The usual forwarding list)
  1026.         K3AMT
  1027.         KA3NVP
  1028.         *** EOF             (End of list marker, MUST be all CAPS)
  1029.  
  1030.  
  1031.     Example of using a KANODE:
  1032.  
  1033.         CC N3ET-1           (This connects me to the N3ET KANODE)
  1034.         R###CONN            (Expected partial response)
  1035.         RENTER              (Second line of response)
  1036.         SX WB3FYL-1         (Cross connect to WB3FYL-1 NODE)
  1037.         R?###LINK MADE      (Response of '?' & ###LINK MADE)
  1038.         SC WB3FYL           (Connect to WB3FYL)
  1039.         RConn               (Expected partial response)
  1040.         F0024C WB3FYL       (Forward to WB3FYL from 00 to 24)
  1041.  
  1042.  
  1043.     Example of using a Net/ROM node to KANODE:
  1044.  
  1045.         CC K3RLI-3          (This connects me to the local node)
  1046.         SC N3ET-1           (Connects me from NET/ROM to KANODE)
  1047.         R###CONN            (Expected response from KANODE)
  1048.         RENTER              (Second line of response)
  1049.         SC N3ET             (Connect to N3ET)
  1050.         R?###LINK MADE      (Response from KANODE)
  1051.         F0024C N3ET         (Forward to N3ET from 00 to 24)
  1052.  
  1053.  
  1054.     Any connection or combination can be made up using the "S" and "R"
  1055.     lines.  Always  check and  make sure  that you  have the  required
  1056.     response in the "R" line. If it is wrong you will end up sending a
  1057.     disconnect and aborting the connection.  Try to use nodes properly
  1058.     so that if a particular node  goes down, that  the node will  look
  1059.     for an alternate route.
  1060.  
  1061.     A "C" item can be used alone to  establish the  connection using a
  1062.     script. Following this line must be the routing line.
  1063.  
  1064.         CC W3AVK V K3QFW-1  (Connect to W3AVK Via K3QFW-1)
  1065.         FA0024C W3AVK       (Forward using port A from 00 to 24)
  1066.  
  1067.     In this case, the script is used for the connection.  The W3AVK in
  1068.     the routing line  is only there  as a  reference for any  X or  XI
  1069.     commands.  It  can be  changed to  anything that  would provide  a
  1070.     reference for that particular route.
  1071.  
  1072. Chapter 3 ------------------ FORWARD FILE ---------------------------- Page 4
  1073.  
  1074.  
  1075.  
  1076. 2) <<<<< ROUTING LINE >>>>>
  1077.  
  1078.     E, F, G, and H lines  are lists  of stations for  whom you  should
  1079.     forward mail.  They  are grouped  by the  call of  the MailBox  to
  1080.     which the messages  will be  forwarded.   Each list  has a routing
  1081.     line, any number of callsigns or sublists, and the list terminator
  1082.     ("*** EOF").
  1083.  
  1084.     A "G" line is used to do conventional forwarding.  All BBS systems
  1085.     will respond correctly if you use a "G" line.
  1086.  
  1087.     A "F" line is  used when the  system you will connect to  supports
  1088.     reverse forwarding.  If you do not wish to use reverse  forwarding
  1089.     simply always use a "G" line.
  1090.  
  1091.     A "H" line acts  the same as an "F" line.  except that the connect
  1092.     and probe for reverse  forwarding will  occur even if  you do  not
  1093.     have any messages to forward.
  1094.  
  1095.     A "E" line acts  like a  "G" line,  except the  forwarding is  not
  1096.     done,  the  line  is  only  used  when  someone  requests  reverse
  1097.     forwarding.
  1098.  
  1099.  
  1100.     The Routing line looks like:
  1101.  
  1102.     Columns     Data
  1103.     1         "E", "F", "G", or "H"
  1104.     2         Port identifier. "A" = COM1, "B" = COM2, etc.
  1105.     3-4       Hour to activate forwarding to this station.
  1106.     5-6       Hour to de-activate forwading to this station.
  1107.     7-end     Callsign of the MailBox to forward to.
  1108.  
  1109.     Forwarding will  occur  at  the  minute  given  for  the  port  in
  1110.     CONFIG.MB, on those hours given in FWD.MB.
  1111.  
  1112.  
  1113.  
  1114. 4) <<<<< MESSAGE SIZE LINE >>>>>
  1115.  
  1116.     CBBS now has message size limiting on forward.  Add  to the forward
  1117.     file after the "F", "G", or "H" line:  <>0123 3000.  This line must
  1118.     be after the 'F', etc line and in this example from  01 to 23  will
  1119.     limit the maximum message size to 3000 bytes. The "<>" is  followed
  1120.     by the time window with no space inbetween. You can use a different
  1121.     or no message size limit line in each forward to a bbs.
  1122.     Example:
  1123.  
  1124.     FA0024C WB3EAH    (Routing line)
  1125.     <>0005 2500       (Limit message size to 2500 bytes from 00 to 05)
  1126.     WB3EAH            (Forward lists)
  1127.     N3EPY
  1128.     *** EOF           (End of lists marker. Must be Caps)
  1129.  
  1130. Chapter 3 ------------------ FORWARD FILE ---------------------------- Page 5
  1131.  
  1132.  
  1133. 5) <<<<< FORWARD LIST >>>>>
  1134.  
  1135.     The forward list is nothing more than  the list of calls that  you
  1136.     want forwarded onto another mailbox.   That calls  are listed  one
  1137.     per line, You  can also  use SUBLISTS and  wildcards for  matches.
  1138.  
  1139.  
  1140.                         *** Wildcards ***
  1141.  
  1142.     When the designator in FWD.MB is compared to the TO or @ BBS call,
  1143.     the characters "?", "!", and "*" appearing  in the  designator act
  1144.     as wildcards. "?" will  match  any  character.   "*"  causes   the
  1145.     remaining  characters  to  match.    "!"  will  match  any  digit.
  1146.     FOR EXAMPLE: Using ZIP code  routing, to route all South  Carolina
  1147.     NTS traffic to WB0TAX, you would put "NTS4*" or "4*".  Any message
  1148.     sent to a destination starting with  "NTS4" or "4" would route  to
  1149.     WB0TAX.  WB0TAX  could  then continue  the  routing  breakdown  by
  1150.     forwarding "NTS41*" or "41*" to one station, "NTS42*" or "42*"  to
  1151.     another, etc.
  1152.  
  1153.  
  1154. 6) <<<<< SUBLISTS >>>>>
  1155.  
  1156.     At any place in the FWD.MB file you can refer to another file.  In
  1157.     effect what  happens  is that  the  contents of  the  sublist  are
  1158.     treated exactly as if they were in the FWD.MB file.  This  feature
  1159.     is very useful when you  have several alternate  paths to a  given
  1160.     location.  FWD.MB need  only contain the  connect information  for
  1161.     the different paths.  You can refer to a single file that contains
  1162.     the list of  calls for  forward.   A sublist  is given  by a  line
  1163.     starting with "@".  The rest of the line is the device, path,  and
  1164.     file name of the sublist.
  1165.  
  1166.     Example:
  1167.                        GC0023C WB3EAH
  1168.                        WB3EAH
  1169.                        N3FSP
  1170.                        @C:\MB\BBS\HF.FWD        (Sublist)
  1171.                        @ 0012C:\MB\BBS\WPENNA   (Sublist)
  1172.                        *** EOF
  1173.                        GD0023C KA3NVP
  1174.                        KA3NVP
  1175.                        @C:\MB\BBS\WPENNA
  1176.                        *** EOF
  1177.  
  1178.      Sublists can now use a time window just  like  a  routing  line.
  1179.      This is  OPTIONAL,  but there  may  be  times  when  you want to
  1180.      forward certain lists  to different mailboxes depending upon the
  1181.      time.
  1182.  
  1183.      EXAMPLE:  @ 0012C:\MB\BBS\WPENNA
  1184.  
  1185.      The space after the '@' specifys that this is a  timed  sublist.
  1186.      The 0012 is the start  and end  of the  time window.  So  WPENNA
  1187.      ( in this example ) will only be checked from 00 to 12  for  any
  1188.      calls. At any other time this file will be bypassed.
  1189.  
  1190. Chapter 3 ------------------ FORWARD FILE ---------------------------- Page 6
  1191.  
  1192. 7) <<<<< DOS COMMANDS >>>>>
  1193.  
  1194.     A "!" list is a list of DOS commands.   It acts  very much like  a
  1195.     .BAT file.  The second character of the list header must be a port
  1196.     that exists or the commands  are not  executed.  This  is done  so
  1197.     that a single FWD.MB may be used by several copies of the  MailBox
  1198.     running under DESQview.  The  commands  will only  be executed  by
  1199.     the copy that owns the port.   The  time window is  honored.   All
  1200.     files used by the  MailBox are "cleaned"  before the DOS  commands
  1201.     are executed.   Be  very  careful  what  commands  you  use  here;
  1202.     anything that might CHANGE one  of the files  used by the  MailBox
  1203.     will cause TROUBLE! You must also  run the MailBox in a  partition
  1204.     large enough to allow for COMMAND.COM (25k) plus whatever commands
  1205.     you run.   This feature  is  useful, for  example, to  backup  the
  1206.     MailBox files from RAM disk to hard disk or floppy once each hour.
  1207.     Dos commands are only operational from automatic forwards.  To  be
  1208.     operational from a manual forward, you must add a field designator
  1209.     like this: !A0023 WB0TAX. So "XI WB0TAX" will do the dos command.
  1210.  
  1211.  
  1212.     EXAMPLE:   !A0023  -----------------> Do dos shell command 00-23
  1213.                COPY \MB\BBS\LOG.MB D: --> Dos Command Line
  1214.                *** EOF -----------------> EOF line
  1215.  
  1216.                Copies LOG.MB to the D drive every autoforward.
  1217.  
  1218.  
  1219. 8)  <<<<< CHANGE FORWARD FILE >>>>>
  1220.  
  1221.     EXAMPLE :  YF0020 C:\MB\BBS\TEMP.MB
  1222.  
  1223.     Putting YF< time window > < new forward  file > as  the last  line
  1224.     of your forward file will change from the present forward file  to
  1225.     the new one that you designate.  The time window is needed and  if
  1226.     you want it to change every hour just make it 0024.  If you  don't
  1227.     want to use this feature just don't  put the line in your  present
  1228.     forward file.
  1229.  
  1230.     This is a handy feature if you only wanted to forward every second
  1231.     hour.  Or  if you  had a  separate forward  file that  you use  on
  1232.     special occasions.  You  could  have your  special  forward  files
  1233.     always return the bbs back to the standard forward file after it's
  1234.     use.  Now using two forward files, you can filp-flop them on every
  1235.     forwarding session.
  1236.  
  1237.       FWD.MB                          TEMP.MB
  1238.  
  1239.       PA                              PA
  1240.       ....                            ....
  1241.       *** EOF                         ***EOF
  1242.       FA0024C K3QFW                   FA0024C W3AVK
  1243.       K3QFW                           W3AVK
  1244.       ....                            ....
  1245.       *** EOF                         *** EOF
  1246.       PA                              PA
  1247.       ....                            ....
  1248.       *** EOF                         *** EOF
  1249.       YF0024 C:\MB\BBS\TEMP.MB        YF0024 C:\MB\BBS\FWD.MB
  1250.  
  1251. Chapter 3 ------------------ FORWARD FILE ---------------------------- Page 7
  1252.  
  1253.  
  1254.                 *** Bulletin distribution lists ***
  1255.  
  1256.     If a  message  has  a destination  MailBox  specified,  then  that
  1257.     designator may also be used  as the name  of a distribution  list.
  1258.     When the message is entered, the messages directory path (normally
  1259.     \mb\msgs\) is checked  for  a  file  with the  same  name  as  the
  1260.     designator and an extension of .DIS.   If the file is found,  then
  1261.     the messge will be forwarded too ALL the destinations found in the
  1262.     file.  One destination   per  line.    16  destinations   maximum.
  1263.     As an  example,  for  my  local  sub-net  distribution  I  have  a
  1264.     designator   PANET   (Pennsylvania Net),    and a  file  PANET.DIS
  1265.     containing:
  1266.                       WA3TSW
  1267.                       KB3UD
  1268.                       W3AVK
  1269.                       WA7SSO
  1270.  
  1271.     A message sent as: SB ALL @ PANET   Will be forwarded to all three
  1272.     of the stations in the PANET.DIS file.
  1273.  
  1274.     The message is not forwarded in any special order, if a station is
  1275.     busy then  the MailBox  will try  again the  next hour.   See also
  1276.     Chapter 6 for more information on Distribution files.
  1277.  
  1278.  
  1279.     An "L ;" listing of a message  with a distribution list shows  the
  1280.     status of forwarding to each station on a second "cc:" line.   The
  1281.     calls to which the message have been sent have an asterisk  before
  1282.     them.  The ";" can be used with any list command to show the  full
  1283.     title, any "cc:", "EF:", and "BID:" attached to the message.
  1284.  
  1285.      The following is an example of a few lines of the  FORWARD file:
  1286.  
  1287.                              (Forward to K1BC every hour)
  1288.      GA0023C K1BC VIA KD2S-1 <Function, port ID, Time, MailBox, path>
  1289.      W1XR              <Call of station whose mail should be forwarded>
  1290.      N1AWX
  1291.      K1BC
  1292.      @\MB\BBS\NH
  1293.      *** EOF           <Marks the end of list>
  1294.      PB1023            <Set TNC params for next connection>
  1295.      FRACK 6
  1296.      MAXFRAME 2
  1297.      *** EOF
  1298.      GB0222C K7PYK     <Forward to K7PYK only from 0200 to 2259)
  1299.      <>1922 2000       <Limit message size to 2000 bytes from 1900 to 2259>
  1300.      K7PYK
  1301.      W7KB
  1302.      @\MB\BBS\HF
  1303.      *** EOF
  1304.      PB1023            <Set TNC params back to normal>
  1305.      FRACK 4
  1306.      MAXFRAME 4
  1307.      *** EOF
  1308.  
  1309. Chapter 3 ------------------ FORWARD FILE ---------------------------- Page 8
  1310.  
  1311.  
  1312.     There is no limit to the number of lists or the number of calls in
  1313.     each list.  Your MailBox will do  the connect and send the  messge
  1314.     onward.  It will  either delete  it  or mark  it with  'F'  status
  1315.     depending on the setting of the YES/NO (Kill on forward) flags  in
  1316.     CONFIG.MB.  Auto forwarding is attempted each  hour at the  minute
  1317.     specified in  CONFIG.MB,  or  when  you use  the  "X"  menu  item.
  1318.  
  1319.     The special  call "*"  (a  single *)  can  be used  to  force  the
  1320.     forwarding of all mail not  addressed to the  system owner.   This
  1321.     could be used by someone who would like to run this software,  but
  1322.     would not like to maintain an active MailBox.  They would get  all
  1323.     their own mail locally, but  any mail deposited onto their  system
  1324.     would be automatically forwarded.
  1325.  
  1326.     The forwarding of messages counts on  the remote MailBox  behaving
  1327.     correctly.  It must have a menu with  '>' at the  end of the  last
  1328.     line.  The command  for sending  messages must have  the form  "Sx
  1329.     call".  It  must prompt  for message  title, and  then prompt  for
  1330.     message text.  Message text is terminated by ^Z.
  1331.  
  1332.  
  1333.                        *** FORWARD FILE ***
  1334.  
  1335.     If using multiple windows, you can use different Forward files with
  1336.     each window, or you can use one master forward  file.  If  you  are
  1337.     using different forward files for each window, you must  name  them
  1338.     differently in each config. (Example - FWD.A, FWD.B, ect) Otherwise
  1339.     FWD.MB can be used for all windows and all config's.
  1340.  
  1341.     The forward minute should also be  different  between  windows  for
  1342.     best operation. A one or two minute  difference  between  ports  in
  1343.     different windows works out nicely, and allows the display  to  run
  1344.     smoothly.
  1345.  
  1346. Chapter 3.1 ----------- HIERARCHICAL FORWARDING ---------------------- Page 1
  1347.  
  1348.  
  1349.                        HIERARCHICAL FOWARDING
  1350.  
  1351.     Version 6.0  of  the code  now  supports  hierarchical  fowarding.
  1352.     Hierarchical fowarding was introduced to  the packet bbs  networks
  1353.     in the RLI code and in the recently distributed  4RE program.  The
  1354.     method used by the CBBS should be compatable with these programs.
  1355.     
  1356.     Hierarchical fowarding is a method by which the @ bbs field of the
  1357.     message address  may contain  information beyond  the 6  character
  1358.     call sign or route designation that is  now commonly used.  The  @
  1359.     bbs field may  be expanded  to 64  characters containing  numerous
  1360.     fields separated  by   periods.     A  typical   field  might   be
  1361.     AG3F.PA.USA.NA indicating  station AG3F  is located  in state  PA,
  1362.     country USA  and  continent   NA  (North  America).     The   only
  1363.     limitations to  this is  that  the 64  character total  cannot  be
  1364.     exceeded and the section of  the field prior  to the first  period
  1365.     must not  exceed  6 characters  in  order to  be  compatable  with
  1366.     existing bbs's.
  1367.  
  1368.     The actual convention for naming the  sub fields (hierarchies)  in
  1369.     the @ bbs  field has  not  been firmly  established but  N6VV  has
  1370.     proposed a  system of  hierarchies  which has  been adopted  as  a
  1371.     pseudo standard by many stations. This we attach for information.
  1372.     
  1373.     In the method chosen to implement hierarchical fowarding, the CBBS
  1374.     is able to receive extended @ bbs  fields from a  local user or  a
  1375.     fowarding bbs  by the  addition of  the extra  information to  the
  1376.     S(end) line.  A typical line could  be  SP AG3F @ AG3F.PA.USA.NA <
  1377.     K3RLI $1234_BID  which  will be recognized  as "standard"  in  all
  1378.     respects except for the field following the @.  It should be noted
  1379.     that the normal @ field is still  acceptable since it is a  subset
  1380.     of the larger field.
  1381.  
  1382.     During the fowarding process the 6.0 bbs will transmit the full  @
  1383.     field only to stations that request it.  This request must come in
  1384.     the form of a sid that contains  the letter H  in the last  field.
  1385.     The CBBS requests this by transmitting [CBBS-6.7-H$].  The RLI and
  1386.     4RE programs do similiar with their  sid's.  Stations that do  not
  1387.     have the H in their sid will receive  the truncated form of the  @
  1388.     field containing only the normal 6 character call field.
  1389.  
  1390.     The foward  file still  retains its  original format  but now  can
  1391.     contain entries that match the  various sub fields in the  routing
  1392.     lists to fully utilize the hierarchical feature.   In the  example
  1393.     above if we were to route  that message normally, AG3F would  have
  1394.     to appear in a routing section.  Now AG3F or  PA or USA or NA  can
  1395.     be inserted in to the lists and  the bbs will  now match these  to
  1396.     those contained in  the  message and  foward  accordingly.    This
  1397.     permits rather long lists of calls  to be replaced with a  general
  1398.     hierarchial designator in the foward file.   Additionally, a  user
  1399.     can assist the bbs sysop by appending the state designator to  the
  1400.     bbs field.  This would assure fowarding in particular in the  case
  1401.     of a new bbs not present in  the user  file.  @  W6XYZ.CA will  be
  1402.     fowarded but @ W6XYZ may or may not depending upon if W6XYZ was in
  1403.     the foward file.  If multiple  matches are possible in the  foward
  1404.     file, the first one found is used.   This means generally that  if
  1405.     the call is found it is used followed by the state, country, etc.
  1406.  
  1407. Chapter 3.1 ------------ HIERARCHICAL FORWARDING --------------------- Page 2
  1408. (Hierarchical Forwarding)
  1409.  
  1410.  
  1411.     An example of a routing list might be:
  1412.  
  1413.           FA0023C K3RLI V K3RLI-2
  1414.           K3RLI
  1415.           WA3EBG
  1416.           KB3UD
  1417.           AK3P
  1418.           188*
  1419.           187*
  1420.           PA   <- State Designator - Pennsylvania
  1421.           MD   <-  "     "
  1422.           WV   <-  "     "
  1423.           NJ   <-  "     "
  1424.           CAN  <- Country Designator - Canada
  1425.           SA   <- Continental Designator - South America
  1426.           NTSDE
  1427.           NTSMD
  1428.           NTSNY
  1429.           NTSVA
  1430.           *** EOF
  1431.  
  1432.     Note sections of the  hierarchical list are  inserted only,  never
  1433.     anything containing a period. PA.USA is not acceptable!
  1434.  
  1435.     This fowarding method will only  become a very valuable tool  when
  1436.     more stations employ the  software that utilizes  it and when  the
  1437.     system users, the originators of the messages, start to insert the
  1438.     hierarchical information.  Now, any bbs not utilizing this  system
  1439.     breaks the chain and the hierarchial data is lost.  Hopefully  all
  1440.     of the software writers will  incorporate this into their code  in
  1441.     the near future.  For now it can assist in the routing of  locally
  1442.     originated traffic.
  1443.  
  1444.  
  1445.  
  1446.    = Suggested abbreviations for use with hierarcical routing bbs lists =
  1447.  
  1448.  
  1449.  
  1450.                     ** Continental Abreviations **
  1451.  
  1452.  
  1453.         AF - Africa         AS - Asia            AU - Australia
  1454.         EU - Europe         NA - North America   SA - South America
  1455.  
  1456.  
  1457.  
  1458.                     **   Country Abreviations   **
  1459.  
  1460.  
  1461.      Argentina                ARG      Japan                     JPN
  1462.      Australia                AUS      Korea,North               PRK
  1463.      Austria                  AUT      Korea,South               KOR
  1464.      Belgium                  BEL      Liberia                   LIB
  1465.      Bermuda                  BMU      Liechtenstein             LIE
  1466.      Bolivia                  BOL      Luxembourg                LUX
  1467.  
  1468. Chapter 3.1 -------------- HIERARCHICAL FORWARDING ------------------- Page 3
  1469.  
  1470.  
  1471.                    **  Country Abreviations  ** (Continued)
  1472.  
  1473.      Brazil                   BRA      Malaysia                  MYS
  1474.      Brunei                   BRN      Mexico                    MEX
  1475.      Bulgaria                 BGR      Monaco                    MCO
  1476.      Canada                   CAN      Morocco                   MAR
  1477.      Chile                    CHL      Netherlands               NLD
  1478.      China                    CHN      New Zealand               NZL
  1479.      Colombia                 COL      Nicaragua                 NIC
  1480.      Costa Rica               CRI      Norway                    NOR
  1481.      Cuba                     CUB      Pakistan                  PAK
  1482.      Denmark                  DNK      Panama                    PAN
  1483.      Dominican Republic       DOM      Paraguay                  PRY
  1484.      Ecuador                  ECU      Peru                      PER
  1485.      Egypt                    EGY      Phillipines               PHL
  1486.      El Salvador              SLV      Poland                    POL
  1487.      Finland                  FIN      Portugal                  PRT
  1488.      France                   FRA      Romania                   ROM
  1489.      French Polynesia         PYF      Saudi Arabia              SAU
  1490.      German Demo. Rep.        DDR      Singapore                 SGP
  1491.      Germany, Federal Rep.    DEU      South Africa              ZAF
  1492.      Greece                   GRC      Spain                     ESP
  1493.      Greenland                GRL      Sweden                    SWE
  1494.      Guatemala                GTM      Switzerland               CHE
  1495.      Haiti                    HTI      Syria                     SYR
  1496.      Honduras                 HND      Taiwan                    TWN
  1497.      Hong Kong                HKG      Thailand                  THA
  1498.      Hungary                  HUN      Turkey                    TUR
  1499.      Iceland                  ISL      United Kingdom            GBR
  1500.      India                    IND      United States             USA
  1501.      Indonesia                IDN      Uruguay                   URY
  1502.      Ireland                  IRL      USSR                      SUN
  1503.      Israel                   ISR      Venezuela                 VEN
  1504.      Italy                    ITA      Yugoslavia                YUG
  1505.  
  1506.  
  1507.            **  State and Canadian province abreviations  **
  1508.  
  1509.     AL - Alabama      AK - Alaska      AZ - Arizona       AR - Arkansas
  1510.     CA - California   CO - Colorado    CT - Connecticut   DE - Delaware
  1511.     DC - District of Columbia          FL - Florida       GA - Georgia
  1512.     GU - Guam         HI - Hawaii      ID - Idaho         IL - Illinois
  1513.     IN - Indiana      IA - Iowa        KS - Kansas        KY - Kentucky
  1514.     LA - Louisiana    ME - Maine       MD - Maryland      MA - Massachusetts
  1515.     MI - Michigan     MN - Minnesota   MS - Mississippi   MO - Missouri
  1516.     MT - Montana      NE - Nebraska    NV - Nevada        NH - New Hampshire
  1517.     NJ - New Jersey   NM - New Mexico  NY - New York      NC - N. Carolina
  1518.     ND - N. Dakota    OH - Ohio        OK - Oklahoma      OR - Oregon
  1519.     PA - Pennsylvania PR - Puerto Rico RI - Rhode Island  SC - S. Carolina
  1520.     SD - S. Dakota    TN - Tennessee   TX - Texas         UT - Utah
  1521.     VT - Vermont      VA - Virginia    VI - Virgin Island WA - Washington
  1522.     WV - W. Virginia  WI - Wisconsin   WY - Wyoming       AB - Alberta
  1523.     BC - British Col. MB - Manitoba    NB - New Brunswick NF - Newfoundland
  1524.     NT - NW Territory NS - Nova Scotia ON - Ontario       PE - Prince Edward
  1525.     PQ - Quebec       SK - Saskatchewan                   YT - Yukon Territ.
  1526.  
  1527.     Examples:    VE3YZX.ON.CAN.NA    AG3F.PA.USA.NA
  1528.                  EL8C.LIB.AF
  1529.  
  1530. Chapter 3.2 ---------------- USING STATES.MB ------------------------- Page 4
  1531. (Revision A)
  1532.                      *** USING STATES.MB ***
  1533.  
  1534.     STATES.MB is  a file  with the  hierarchical routes  for most  USA
  1535.     mailboxes.   It  was   made  originally  from   lists  that   were
  1536.     distributed by W9ZRX.  Dave is no longer making this list.
  1537.  
  1538.     You can edit  STATES.MB to  include any route  or information  you
  1539.     want to.  Remember to keep the  hierarchical address separated  by
  1540.     periods, then at least one  space, and then any information  about
  1541.     the station to fill the rest of the line.
  1542.  
  1543.          AD8I.OH.USA.NA  Columbus, OH. 43113 - White Pages Server
  1544.  
  1545.     You can also look for @ NEWHDR  bulletins to add new mailboxes  as
  1546.     they are found.  You  can also  use a program  called BBSPARSE  by
  1547.     N2MH to  parse your  message headers  and creat  new listings  for
  1548.     STATES.MB.  STATES.MB does  not change  any received  hierarchical
  1549.     route; It only acts on  a message  that does not  contain one  and
  1550.     adds it if the route is found.
  1551.  
  1552.     You can edit STATES.MB  to include  any route  you want  to.   For
  1553.     foreign calls you might add something like this:
  1554.  
  1555.      G3XXX.GBR.EU  or I5SGG.ITA.EU
  1556.  
  1557.     You  can  also edit in local designators  to  aid  in  your  local
  1558.     forwarding:
  1559.  
  1560.      KB3X.#WPA.PA.USA.NA  <-- The #WPA being a special designator
  1561.  
  1562.     Now all you have to do is make up a new forward file with the  use
  1563.     of the different designators.   No  longer will you  have to  keep
  1564.     callsigns of bbs's in the forward file lists.  State codes  should
  1565.     handle most of the forward matches, and you can add any new  bbs's
  1566.     to STATES.MB as they become known.
  1567.     You can also use Canadian or foreign lists if they are available.
  1568.  
  1569.                     *** WILD-CARD USAGE ***
  1570.  
  1571.     Wild cards are allowed in the STATES.MB  file.  Just be sure  that
  1572.     your wild cards match proper routes.  The following is an  example
  1573.     of wild cards in STATES.MB.
  1574.  
  1575.        4X4IP.MD.USA.NA
  1576.        4X!*.ISR.EU
  1577.  
  1578.     A  '!'  means match any digit. A  '*'  means match  anything  that
  1579.     follows. These are the same wild-cards used in the  forward  file.
  1580.     The 4X4IP is a bbs located in Maryland, but any other 4X call will
  1581.     have the .ISR.EU route attached to  it.  Just  make sure that  ALL
  1582.     exceptions are listed first, and the  wild card match last.   This
  1583.     will work for all KNOWN routes to any bbs's.  This should help  to
  1584.     keep STATES.MB at a miminum size.
  1585.  
  1586.     Comments can be put in the STATES.MB file after  the  hierarchical
  1587.     route. Just add a space or two after the route and add any comment
  1588.     on the same line. The "P" Command will  search the  user  file and
  1589.     then STATES.MB for any match and display the line accordingly.
  1590.  
  1591. Chapter 4 ------------------ COMMANDS -------------------------------- Page 1
  1592.  
  1593. *******************************
  1594. *** @ REMOTE SYSOP Password ***
  1595. *******************************
  1596.  
  1597.   SYSOP only Command:
  1598.  
  1599.     The last  line  of  the  config.mb  must  contain  a  line  of  64
  1600.     characters.  This can be a  sentence or just 64 ascii  characters.
  1601.     Upper or lower case  can be  used and is  considered as  different
  1602.     characters.
  1603.     EXAMPLE:
  1604.  
  1605.     NowisthetimeFORallgoodpacketeerstocometotheaidoftheirparty.T
  1606.  
  1607.     When a remote sysop sends a "@" to the bbs the bbs will prompt the
  1608.     remote sysop with 4 numbers..  The four numbers will correspond to
  1609.     the positions of the characters in the key.  The remote sysop will
  1610.     then reply with the 4  characters that correspond to the  relative
  1611.     positions in the key.
  1612.     EXAMPLE:
  1613.  
  1614.     BBS --- 4 16 23 64
  1615.  
  1616.     Remote Sysop enters: iapT  and hits <cr>.
  1617.  
  1618.     He will then be allowed entry as a remote sysop..
  1619.  
  1620. *********************
  1621. *** ! DOS Command ***
  1622. *********************
  1623.  
  1624.   SYSOP only Command:
  1625.  
  1626.     This ! command allows the use of the dos shell.  You can do almost
  1627.     any dos command, as long as you  don't disturb any of the  mailbox
  1628.     dat files.
  1629.  
  1630.   SYNTAX - ! COPY A:TEXT.TXT C:\MB\PACKET
  1631.  
  1632.            Copies the file text.txt from the A drive to the C drive in
  1633.            the subdirectory packet.
  1634.  
  1635.     This command can also be used in  the FWD file  to do Batch  files
  1636.     during a forward.
  1637.  
  1638. *****************
  1639. *** A Command ***
  1640. *****************    SYSOP only Command:
  1641.  
  1642.     A  - Does an autoforward on all windows.
  1643.     AI - Does an autoforward on all windows ignoring the time.
  1644.  
  1645. *****************
  1646. *** B Command ***
  1647. *****************
  1648.  
  1649.              B <cr> -  Logs off the mailbox.
  1650.                        For a user, disconnecting does the same thing.
  1651.  
  1652. Chapter 4 ------------------ COMMANDS -------------------------------- Page 2
  1653.  
  1654.  
  1655.  
  1656. *****************
  1657. *** C Command ***
  1658. *****************
  1659.  
  1660.              C CALL  - Connects to user from path and port in the user file.
  1661.              Cp CALL - Connects to call using port p. Digipeater routing may
  1662.                        also be given.
  1663.  
  1664.                        EXAMPLES:  CA K3QFW V AK3P-5
  1665.                                   C AG3F
  1666.    SYSOP only Commands:
  1667.  
  1668.              CM CALL #### [@ BBS] [< CALL] - Copies message #### and makes
  1669.                                              new message addressed to CALL.
  1670.              C YYMMDD HHMM  -  Sets the clock.
  1671.  
  1672. *****************
  1673. *** D Command ***
  1674. *****************
  1675.  
  1676.    USER only Command:
  1677.  
  1678.              Dd Filename - Download a file from the mailbox.
  1679.                            'd' is the directory identifier.
  1680.  
  1681.    SYSOP only Commands:
  1682.  
  1683.              D C:\path\Filename - Downloads filename in drive C, with
  1684.                                   path to the console with pageing.
  1685.              DA C:\path\Filename - Downloads filename out the A port to
  1686.                                    the tnc. Continues till eof of file.
  1687.              DU - Lists all users.
  1688.              DM - Lists all users marked as bbs's.
  1689.              DS - Lists all sysops.
  1690.              DL - Lists all local users.
  1691.              DX - Lists all excluded users.
  1692.                   For the above commands if a filename is added as an
  1693.                   argument the list will be put into a ascii text file.
  1694.  
  1695.     DW Command - creates a WP message if any new users use the bbs.
  1696.                  Used by sysop when the bbs does not make up a message.
  1697.                  For this command to work, you must have a WP server
  1698.                  call in your config.
  1699.     SYNTAX - DW
  1700.              DW A - creats a WP message with all users.
  1701.  
  1702. *** White Pages ***
  1703.  
  1704.     As users check into your bbs, they will be automatically asked for
  1705.     their name and home bbs.  When  the user file  was updated to  the
  1706.     latest version on first starting the bbs, A new field was  created
  1707.     to note when a user  puts in his name  and home bbs.   It is  this
  1708.     field that will create a white  paper message to  whatever bbs  is
  1709.     keeping track of  calls and  homebbs's.   Here  is how  it  works.
  1710.     First in the config.mb there is a line for the WHITE PAGES  SERVER
  1711.     CALL.  If you leave this line  blank, no white paper message  will
  1712.     be generated.   This  line  is  located  under  your  QTH  in  the
  1713.     config.mb.
  1714.  
  1715. Chapter 4 ------------------- COMMANDS ------------------------------- Page 3
  1716. (White Pages Continued)
  1717.  
  1718.     If you put a bbs on this line, he will receive a message every  so
  1719.     often addressed to WP, from your bbs, @ WP Server Call, TITLE: "WP
  1720.     Update".  In the message text will be  a list of the latest  users
  1721.     using the bbs  for the  first time,  or updateing  their name  and
  1722.     homebbs.  So a central bbs or user can  now keep track of all  the
  1723.     users with their home  bbs's  for a  given  area.   Sort  of  like
  1724.     keeping a white pages telephone book with calls of packeteers  and
  1725.     their home bbs. Zip codes are now added.
  1726.  
  1727.  
  1728. *****************
  1729. *** E Command ***
  1730. *****************
  1731.  
  1732.     SYNTAX - ET <message number> - USED by ALL
  1733.  
  1734.     The ET command allows users to  edit Traffic messages on the  bbs.
  1735.     A  Traffic  message  is defined  as having  a TYPE of  "T" or  the
  1736.     letters "NTSxxx" in the TO field of a  message.  Any user can  use
  1737.     the ET command.  Probably it would be a good idea to let your  NTS
  1738.     users know of this feature, so that they could track your NTS type
  1739.     messages.
  1740.  
  1741.     EXAMPLE: Message 8873 is a Traffic message.
  1742.  
  1743.      ET 8873  <- Entered by user or sysop.
  1744.         BBS response:New TO or (cr) to retain:
  1745.      User responds with a new call or <cr>
  1746.         BBS response:New @ BBS or (cr) to retain:
  1747.      User responds with a new @ BBS or <cr>
  1748.         BBS response:New TITLE or  (cr) to retain:
  1749.      User responds with new title or <cr>
  1750.         BBS response:New TYPE or (cr) to retain:
  1751.      User responds with new type or (cr) to retain
  1752.         BBS will now respond with the edited message header.
  1753.  
  1754.     If you enter a message  number that wasn't  a traffic message  the
  1755.     bbs will respond with a  message: ***  Sorry, this is  not an  NTS
  1756.     traffic message.  If you change the type of message from a "T"  to
  1757.     something else, The message header  will be changed, and since  it
  1758.     will not fit the qualifiers of an  NTS message, you won't be  able
  1759.     to change it back!
  1760.  
  1761.    SYSOP only Commands:
  1762.  
  1763.     E #### - Edit message ####. This command looks for the message, and then
  1764.              displays the header from that message. Next comes the input
  1765.              prompt: t(Y)pe, (S)tatus, (T)o, (F)rom, (B)bs, t(I)tle, bi(D)
  1766.              To change:   The TYPE field ---- Y <type> <cr>
  1767.                           The STATUS field -- S <status> <cr>
  1768.                           The TO field ------ T <new to call> <cr>
  1769.                           The FROM field ---- F <new from call> <cr>
  1770.                           The @BBS field ---- B <new bbs call> <cr>
  1771.                           The TITLE field --- I <new title> <cr>
  1772.                           The BID field ----- D <new bid> <cr>
  1773.              To exit edit message, just hit a <cr> from the prompt.
  1774.  
  1775. Chapter 4 ------------------- COMMANDS ------------------------------- Page 4
  1776. E COMMAND (Continued)
  1777.  
  1778.  
  1779.  
  1780.     EP p - Edit port parameters. <p> is the port to edit.
  1781.     ES   - Edit system parameters.
  1782.     EU   - Sweep thru all users asking for Delete or Quit,
  1783.  
  1784.     EU CALL - Edit a user's record or create a new user record. This command
  1785.               will find a user's record or create a null  user's record, and
  1786.               then display a prompt line:
  1787.                 PRIVILEGE: (D)elete, (E)xpert, (B)bbs, (S)ysop, e(X)clude
  1788.                 DATA: (C)all, s(I)d, (N)ame, por(T), (H)ome, (Z)ip
  1789.  
  1790.               To delete a user: Type D <cr>
  1791.  
  1792.               To change:  Is an EXPERT ---- Type E <cr>
  1793.                           Is a BBS? ------- Tyoe B <cr>
  1794.                           Can be SYSOP ---- Type S <cr>
  1795.                           To EXCLUDE ------ Type X <cr>
  1796.                           New CALL -------- Type C <new call> <cr>
  1797.                           New SSID -------- Type I <new ssid> <cr>
  1798.                           New NAME -------- Type N <new name> <cr>
  1799.                           New PORT -------- Type T <new port> <cr>
  1800.                           New HOME BBS ---- Type H <home bbs> <cr>
  1801.                           New ZIP --------- Type Z <new zip> <cr>
  1802.               To exit edit user, just hit a <cr> from the prompt.
  1803.  
  1804.  
  1805.  
  1806. *****************
  1807. *** F Command ***
  1808. *****************
  1809.  
  1810.    SYSOP only Command:
  1811.  
  1812.      Fd ##### Filename [AN] - Make a file from a message. The 'd' determines
  1813.                               what subdirectory Filename go to. The A at the
  1814.                               end will append this message to the file. The
  1815.                               N at the end will NOT put the message header
  1816.                               into the file.
  1817.  
  1818.        EXAMPLES:   F 12340 A:text.txt - Makes file TEXT.TXT on the A drive
  1819.                                         from message 12340; Includes header.
  1820.  
  1821.                    FD 1200 amsat.010 - Makes file AMSAT.010 in subdirectory
  1822.                                        D from message 1200.
  1823.  
  1824.                    FD 1300 amsat.010 A - Appends message 1300 to file
  1825.                                          AMSAT.010 in subdirectory D.
  1826.  
  1827.                    F 12300 c:Save.txt N - Makes file SAVE.TXT on C drive
  1828.                                           with no header.
  1829.  
  1830. Chapter 4 ------------------- COMMANDS ------------------------------- Page 5
  1831.  
  1832.  
  1833. *****************
  1834. *** G Command ***
  1835. *****************
  1836.  
  1837.    SYSOP only Commands: Will LOCK up other windows using DESQview.
  1838.                         If other windows are busy, will not allow
  1839.                         any operation.
  1840.  
  1841.              GM - Untangles the mail file.
  1842.              GR <number> - Untangles the mail file and renumbers
  1843.                            starting at number.
  1844.              GU - Untangles the user file, deleteing marked users.
  1845.  
  1846. ********************
  1847. *** HELP Command ***
  1848. ********************
  1849.  
  1850.              H   - Gives a summary of the help subsystem.
  1851.              H x - Gives a detailed explanation of command x.
  1852.              H ? - Gives a detailed explanation of all commands.
  1853.              ?   - Gaves a list of mailbox commands
  1854.              ? x - Gives a summary of command x.
  1855.              ? ? - Gives a summary of all mailbox commands.
  1856.  
  1857. ********************
  1858. *** INFO Command ***
  1859. ********************
  1860.  
  1861.              I - Reads out the INFO.MB file.
  1862.  
  1863. *****************
  1864. *** J Command ***
  1865. *****************
  1866.  
  1867.              Jp - Gives a list of stations heard on port 'p'.
  1868.                   The special port 'L' shows calls of stations
  1869.                   recently connected to the mailbox.
  1870.  
  1871.  
  1872. *****************
  1873. *** K Command ***
  1874. *****************
  1875.  
  1876.              K ##### - Kill message number #####.
  1877.              KM      - Kill messages addressed to you that have been read.
  1878.              KT #### - Kill traffic message and generate a service message.
  1879.  
  1880.    SYSOP only Commands:
  1881.  
  1882.              K #### #### #### #### - Kill up to 4 messages.
  1883.              KA #### - Kill message #### but don't archive.
  1884.              KF ------ Kill all forwarded messages.
  1885.              KO ------ Kill all stale messages.
  1886.              KY ------ Kills all messages that have been read.
  1887.              KF CALL - Kills all forwarded messages addressed to CALL.
  1888.              KY CALL - Kills all messages addressed to CALL that have been read
  1889.  
  1890. Chapter 4 ------------------- COMMANDS ------------------------------- Page 6
  1891.  
  1892.  
  1893. ********************
  1894. *** LIST COMMAND ***
  1895. ********************
  1896.  
  1897.  
  1898.              L ------- List all new messages since your last login.
  1899.              L #### -- List messages back to ####.
  1900.              LE ##  -- List last ## mail headers in MAIL file.
  1901.              LL ##  -- List last ## messages.
  1902.              L> CALL - List all mail TO Call.
  1903.              L< CALL - List all mail FROM Call.
  1904.              L@ CALL - List all mail @BBS Call.
  1905.              LA ------ List all type 'A' messages.
  1906.              LE ------ List all mail headers since your last login.
  1907.              LF ------ List all forwarded messages.
  1908.              LH ------ List all messages that are marked HOLD.
  1909.              LK ------ List all KILLED messages.
  1910.              LM ------ List all messages TO or FROM you.
  1911.              LO ------ List all stale messages.
  1912.              LU ------ List all unforwarded messages.
  1913.              LY ------ List all messages that have been read.
  1914.  
  1915.  
  1916.  
  1917.     If you add a ';' after your normal list command, you will be  able
  1918.     to see any cc: line or Hierarchical list and any bid line attached
  1919.     to a  header.  You will also see to who this message forwarded to.
  1920.     This will work with any  command.   Example  follows:
  1921.  
  1922.  
  1923.              LL 4    Will list the last 4 lines.
  1924.  
  1925.       9989 PN  1247 KA3DWA WA3DQI         0109/1212 ARC NETWORK
  1926.       9986 AN   978 ALL    W1AW   PAWEST  0109/1034 ARRL 54: News
  1927.       9985 BN  2367 ALL    KC3BQ          0109/0956 Hamfest news
  1928.       9984 PN  1545 K3RLI  AG3F   KC2AZ * 0109/0945 TNC WORKS
  1929.  
  1930.  
  1931.              LL 4 ; List last 4 lines and  cc:, ef:, and bid: lines
  1932.  
  1933.       9989 PN  1247 KA3DWA WA3DQI         0109/1212 ARC NETWORK
  1934.       9986 AN   978 ALL    W1AW   PAWEST  0109/1034 ARRL 54: News
  1935.          cc: *WA3DQI AG3F HOLD
  1936.         BID: ARLP010
  1937.       9985 BN  2367 ALL    KC3BQ          0109/0956 Hamfest news
  1938.         BID: KC3BQ_7789
  1939.       9984 PK  1545 K3RLI  AG3F   KC2AZ * 0109/0945 TNC WORKS
  1940.         F->KC2AZ     EF: KC2AZ.NY.USA.NA
  1941.  
  1942.  
  1943.     This will work for all list commands.  Like LL 10 ; or L ; or LM ;
  1944.     or LA ;. This command is available for sysops and users and allows
  1945.     you to see the messages with the extra lines.
  1946.  
  1947. Chapter 4 ------------------- COMMANDS ------------------------------- Page 7
  1948.  
  1949.  
  1950.  
  1951. *****************
  1952. *** M Command ***
  1953. *****************
  1954.  
  1955.              Mp - Monitor the packets on port 'p'. You must have the
  1956.                   gateway enabled for the port.
  1957.  
  1958.  
  1959.  
  1960.    SYSOP only Command:
  1961.  
  1962.  
  1963.              MM <listfile> <textfile>
  1964.  
  1965.     The MM command does the same thing as the SM command but it uses a
  1966.     text file for the message content.
  1967.  
  1968.  
  1969.     EXAMPLE: MM LIST1 \mb\oscar\amsatnws.140
  1970.                  BBS response: Enter Title for Message:
  1971.              Sysop enters TITLE
  1972.  
  1973.     The bbs will now make  messages  for  each  call  in the list, but
  1974.     the message content will be from the file AMSATNWS.140.  Since the
  1975.     mail file in now in files and  not in a  database, you could  also
  1976.     use a message file instead of a text file for the message content.
  1977.     ( See also Chapter 6 - List file )
  1978.  
  1979.  
  1980.  
  1981.              Mx <call> <textfile> [<@> <bbscall> <bid>]
  1982.  
  1983.     The 'x' represents the type of message. The 'call' is the TO field
  1984.     of the message. Textfile is the file used; It may include a  drive
  1985.     and path information.  The 'bbscall'  is  the  BBS  field  of  the
  1986.     message. The 'bid' is the bid attached to the message.
  1987.  
  1988.  
  1989.     EXAMPLE: MP AG3F A:TEXT.TXT @ AG3F
  1990.  
  1991.     The bbs will make a private message to AG3F @ AG3F with the message
  1992.     being from the file TEXT.TXT
  1993.  
  1994.  
  1995.     EXAMPLE: MB ALL A:NEWS.BUL @ PANET $123_NEWS
  1996.  
  1997.     The bbs will make a bulletin to ALL @ PANET with the message being
  1998.     from the file NEWS.BUL with a BID of 123_NEWS.  This is  handy  to
  1999.     make bulletins from a text file to a distribution list.
  2000.  
  2001. Chapter 4 ------------------- COMMANDS ------------------------------- Page 8
  2002.  
  2003. *****************
  2004. *** N Command ***
  2005. *****************
  2006.  
  2007.    USER only Commands:
  2008.  
  2009.              N NAME -- Enter your name into the user file.
  2010.              NE ------ Makes you an expert user.
  2011.              NH CALL - Enter home bbs into user file. Checks for valid call.
  2012.              NZ ZIP -- Enter zip code into the user file.
  2013.  
  2014.    SYSOP only Commands:
  2015.  
  2016.              N C:\path\FILENAME.OLD FILENAME.NEW
  2017.  
  2018.              Renames filename from old to new. Drive type need not be used
  2019.              unless using other than current drive. Path information is
  2020.              only necessary when going outside current directory.
  2021.  
  2022. *****************
  2023. *** P Command ***
  2024. *****************
  2025.  
  2026.              P Call - Lists information about user or bbs. Port connected,
  2027.                       name, path, last message number, home bbs. Comments
  2028.                       may be added to STATES.MS for reference here.
  2029.  
  2030. ********************
  2031. *** QUIT Command ***
  2032. ********************
  2033.  
  2034.              Q - Quits the mailbox. Asks "Are you sure (Y/N)?
  2035.                  For local sysop only.
  2036.  
  2037. *****************
  2038. *** R Command ***
  2039. *****************
  2040.  
  2041.              R #### - Read message number ####.
  2042.              RH ### - Read message number ###, showing routing headers.
  2043.              RM ----- Read all unread messages addressed to you.
  2044.  
  2045. *****************
  2046. *** S Command ***
  2047. *****************
  2048.  
  2049.              Sx CALL @ BBS - Send type 'x' to call @ bbscall.
  2050.                              The mailbox will prompt you for title
  2051.                              and to enter subject. End message text
  2052.                              entry with a <ctrl z>, /ex, or /EX.
  2053.  
  2054.              If type 'x' is not entered, and the TO field is to a valid
  2055.              callsign, the type will become private.
  2056.              If type 'x' is 'A', 'B', 'F' and the  TO field is not a valid
  2057.              callsign, (ALL, ect) a BID will be created for the message.
  2058.  
  2059.              SB ALL @ BBS $ARLB010 - Creats a bulletin message to all at
  2060.                                      bbscall with BID of ARLB010.
  2061.  
  2062. Chapter 4 ------------------- COMMANDS ------------------------------- Page 9
  2063.  
  2064.              S! <listfile> - Used by selected users
  2065.              SM <listfile> - Used by SYSOP
  2066.       For Example lets say that all these stations shared the same
  2067.       interests. a message could be made to send to all of them.
  2068.  
  2069.              SM LIST1  <- Entered by sysop
  2070.                 BBS response: Enter Title for Message:
  2071.              Sysop enters TITLE
  2072.                 BBS response: Enter message, ect...
  2073.              Sysop enters message, ending with a control Z...
  2074.  
  2075.       The bbs now will make the headers for each  call in the list.   In
  2076.       this Example you would end up with many message headers.  Each  as
  2077.       defined in the LIST1 file.   So many duplicate messages would  now
  2078.       be on the bbs.  Each will forward out as  if they were put on  the
  2079.       bbs individually. ( See Chapter 6 - List file )
  2080.  
  2081. *****************
  2082. *** T Command ***
  2083. *****************
  2084.  
  2085.    USER only Commands:
  2086.  
  2087.              T - Chat to the sysop. Any command or return before the
  2088.                  request times out will return you to the mailbox.
  2089.  
  2090.    SYSOP only Commands:
  2091.  
  2092.              Tp ---------- Go to terminal mode on port 'p'.
  2093.              Tp Filename - Go to terminal mode  on port 'p', and open
  2094.                            filename save file.
  2095. *****************
  2096. *** U Command ***
  2097. *****************
  2098.  
  2099.    USER only Commands:
  2100.  
  2101.              Ud Filename - Upload filename to subdirectory 'd'.
  2102.  
  2103.           EXAMPLE: UA AMSAT.011    You will be prompted to enter the file
  2104.                                    <ctrl z> to end.
  2105. *****************
  2106. *** V Command ***
  2107. *****************
  2108.  
  2109.              V  - Used by ALL
  2110.  
  2111.                Using the "V" command will cause the bbs to print out the
  2112.                current version of the mailbox code.
  2113.    SYSOP only Command:
  2114.  
  2115.              V A:text.txt C:\AMSAT\TEXT.TXT - Copies text.txt from drive
  2116.                         A to subdirectory AMSAT on drive C. You can rename
  2117. *****************       file on copy.
  2118. *** W Command ***
  2119. *****************
  2120.  
  2121.              W -------- Gives a list of subdirectory area's available
  2122.              Wd ------- Gives a list of the files in subdirectory 'd'.
  2123.              Wd *.DOC - Gives a list of *.DOC files in subdirectory 'd'.
  2124.                 (For sysop use, drive, path, and filespec can be used.)
  2125.  
  2126. Chapter 4 ------------------- COMMANDS ------------------------------- Page 10
  2127.  
  2128.  
  2129. *****************
  2130. *** X Command ***
  2131. *****************
  2132.  
  2133.    SYSOP only Commands:
  2134.  
  2135.              X ------- Trigger an auto-forward.
  2136.              XI ------ Auto-forward, ignore time window.
  2137.              X CALL -- Forward only for call.
  2138.              XI CALL - Forward only for call, ignore time window.
  2139.  
  2140.  
  2141. *****************
  2142. *** Y Command ***
  2143. *****************
  2144.  
  2145.    SYSOP only Command:
  2146.  
  2147.              YF - Displays present forward file name.
  2148.              YF Filename - Change name of forward file to use.
  2149.  
  2150. *****************
  2151. *** Z Command ***
  2152. *****************
  2153.  
  2154.    SYSOP only Commands:
  2155.  
  2156.              Z Filename - Delete the file.
  2157.              Zd Filename - Delete filename in subdirectory 'd'.
  2158.              Z \mb\bbs\TEST.FIL - Deletes TEST.FIL with path \mb\bbs.
  2159.  
  2160. Chapter 5 ------------------ PRTLOG ---------------------------------- Page 1
  2161.  
  2162.  
  2163. ************************
  2164. *** PRINTER FUNCTION ***
  2165. ************************
  2166.  
  2167.     A print function is now in the software.   All you  have to do  is
  2168.     Hit control P from  the bbs  menu and everything  listed and  read
  2169.     will be printed out the parallel port.  Use control P to shut  the
  2170.     print off when done. Putting the bbs back on-line will  also  shut
  2171.     the print off.
  2172.  
  2173. ******************
  2174. ***** PRTLOG *****
  2175. ******************
  2176.  
  2177.         PRTLOG -L LOG.MB   Will display LOG.MB at the console.
  2178.         PRTLOG  LOG.MB > LST:  Will put the summery on the printer.
  2179. -->     PRTLOG  LOG.MB > LOG.JAN  Will output to file LOG.JAN.
  2180.  
  2181.         If you leave out the -L field, only the summary is printed.
  2182.  
  2183.     Note that the BBS will now create a file  to hold the BIDs.   Each
  2184.     line includes the date that your system received the message  with
  2185.     that BID.
  2186.  
  2187.     The proper setup parameters for the tnc are in .SET files,
  2188.     TNC1.SET is for tnc1 or clones - converse mode only,
  2189.     TNC2.SET is for tnc2 or clones,
  2190.     PK232.SET is for the PK-232 and PK-87.
  2191.  
  2192.     The file CONFIG.MB is a text file that contains all  site-specific
  2193.     parameters.  Edit it to have the proper parameters for your  site.
  2194.     
  2195.     The default directory must contain MB.EXE and CONFIG.MB
  2196.  
  2197.     The file CONFIG.MB has  sections that specify  what ports to  use,
  2198.     and where to  find various  files.   Ports are  identified by  the
  2199.     first letter of the first line of the port information.  "A" means
  2200.     COM1, "B" means COM2 etc.  "L" means the system console  (keyboard
  2201.     and display).
  2202.  
  2203.  
  2204.     Files used by the MailBox.  - The Mailbox and Gateway
  2205.  
  2206.       MB.EXE      -  The program.
  2207.       HELP.MB     -  The help file. Documents all commands.
  2208.       MBRESTM.EXE -  Used to restore the MAIL.DAT file.
  2209.       CONFIG.MB   -  Configuration data, log-on, error text, ect.
  2210.       INFO.MB     -  The info file about your system setup.
  2211.       FWD.MB      -  The routing tables for forwarding messages.
  2212.       STATES.MB   -  The state hierarchal file.
  2213.     The following files are created and used by the MailBox:
  2214.  
  2215.       MAIL.DAT   - The message database.
  2216.       USER.DAT   - The user database.
  2217.       MON.MB     - The saved "J" lists.
  2218.       LOG.MB     - The log file. A text file that contains the user log.
  2219.                    Which events are to be logged is specified in CONFIG.MB.
  2220.       CALLS.MB   - All calls heard by the MailBox.
  2221.       BID.MB     - The file to store the received BIDs in.
  2222.  
  2223. Chapter 6 -------------- Log, List, & Dis Files ---------------------- Page 1
  2224.  
  2225.                        *** LOG FILE CONTENTS ***
  2226.  
  2227.    Each line in the log file contains an event code, the date and time,
  2228.    followed by further information about the event.
  2229.  
  2230.    'C' - User connected to system.
  2231.       'A' -> 'H' - A user connected on that port.
  2232.       'I' - Program startup.
  2233.       'L' - User was linked via the station that just connected.
  2234.       'S' - "connect" from local console (sysop).
  2235.  
  2236.    'G' - GateWay event.
  2237.       'A' - Connection attempted and failed. Path shown.
  2238.       'C' - Connection attempted and obtained. Path shown.
  2239.       'E' - End of GateWay event, or use.
  2240.       'M' - Start of monitoring.
  2241.       'S' - Start of GateWay use.
  2242.       'U' - Entry to unprotocol mode.
  2243.  
  2244.    'X' - Exit.
  2245.       'A' - Owner put MailBox on line.
  2246.       'B' - User said good bye.
  2247.       'D' - User disconnected.
  2248.       'E' - Excluded user attempted connect.
  2249.       'F' - User forced off by system owner.
  2250.       'Q' - Owner exited from program.
  2251.       'T' - Timeout, forced disconnect.
  2252.  
  2253.    'F' - File event. Command line shown as user entered it.
  2254.  
  2255.    'M' - Message event. Message number always shown.
  2256.       'C'  - Message copied.
  2257.       'E'  - Message header edited.
  2258.       'F'  - Message forwarded. Connect path shown.
  2259.       'FE' - End of forwarding session.
  2260.       'FR' - Start of reverse forwarding within forwarding session.
  2261.       'FS' - Start of forwarding session.
  2262.       'K'  - Message killed.
  2263.       'L'  - Message headers listed.
  2264.       'M'  - Message created from file.
  2265.       'R'  - Message read.
  2266.       'S'  - Message sent, includes TO, BBS and BID fields
  2267.  
  2268.                       *** Distribution File ***
  2269.  
  2270.     The distribution file is a regular ascii file created with  a  simple
  2271.     editor. It consists of a list of calls, one per line. These calls are
  2272.     the broadcast list of what bbs's you want to  get  specific  messages
  2273.     to. These messages will key the distribution file based on the @ BBB.
  2274.     The name of the distribution file is the same as the @ BBS field used
  2275.     for distribution. All distribution files must end in .DIS and  be  in
  2276.     the message file directory. EXAMPLE - \mb\msgs\pawest.dis
  2277.  
  2278.     EXAMPLE of a .DIS file: PAWEST.DIS <- Name of file
  2279.  
  2280.                KB3UD
  2281.                W3AVK
  2282.                WA3DQI
  2283.                AG3F
  2284.  
  2285. Chapter 6 -------------- Log, List, & Dis Files ---------------------- Page 2
  2286. Dis File (Continued)
  2287.  
  2288.     When a message is created with a @ BBS of PAWEST, the bbs will create
  2289.     a special second header line. EXAMPLE:
  2290.  
  2291.     Msg#  TR  Size  To    From   @ BBS  Date     Title
  2292.     10651 PN  1949 SYSOP  W1AW   PAWEST 870511 New News on BBS's
  2293.         cc: KB3UD W3AVK *WA3DQI AG3F
  2294.  
  2295.     Notice that WA3DQI has a  "*" before  his call.   This means  that
  2296.     this message has already been  forwarded  to WA3DQI.   As the  bbs
  2297.     forwards to the other stations a "*" will appear before each  call
  2298.     as the message is forwarded to them.   When all  the calls have  a
  2299.     "*" before them, the message will be killed, if you have a YES  in
  2300.     the config file for the line Kill F & B  messages  after  forward.
  2301.     Otherwise, the status of the message will be marked as '$' so that
  2302.     a sysop can see if the message is fully forwarded. Users  can  not
  2303.     see the '$', only sysops. You are allowed to use a single call  in
  2304.     a .Dis file for a single distribution. If a  bbs  forwards   in  a
  2305.     message for a distribution which includes his call,   a  '*'  will
  2306.     appear before his call so that the message  will  not  attempt  to
  2307.     forward back to him.
  2308.  
  2309.     ***NOTE***
  2310.     If you receive a distribution which  uses a hierarchical  routeing
  2311.     designator in the @BBS field, the bbs will  forward  that  message
  2312.     just as it follows your forward file.  So  a message @CO will for-
  2313.     ward to the bbs that has CO in it's  list.   This  action  can  be
  2314.     stopped by making a distribution file with it's name.(Like CO.DIS)
  2315.     Include in that file any bbs callsigns for further distribution or
  2316.     the word HOLD to stop any distribution.  That way any hierarchical
  2317.     routing will follow your forward  lists,  and any '@ routing' will
  2318.     take on the calls or hold in your distribution file.
  2319.  
  2320.                            *** List file ***
  2321.  
  2322.     A list file is a regular ascii file created with a simple editor.  It
  2323.     is used with the MM - Make Multiple Messages from a File, and  the SM
  2324.     - Send a message to a distribution list. There  are  no  requirements
  2325.     for the names of these files. They must be in the directory that  the
  2326.     mail bbs runs in.  EXAMPLE - \mb\list1.
  2327.  
  2328.     EXAMPLE of a list file: LIST1 <- Name of file
  2329.  
  2330.                SP KB3UD @ KB3UD
  2331.                SP AG3F
  2332.                SP AK3P @ AK3P
  2333.                SP N3DQC @ W3AVK
  2334.  
  2335.  
  2336.     A new feature of version 6.2 is that the LOG file is renamed at the
  2337.     end of each month. A new LOG file is then created.  The  number  of
  2338.     month will be appended to the log file name.
  2339.     EXAMPLE:  LOG.MB will become LOG3.MB for the month of March.
  2340.  
  2341. Chapter 7 ------------------- PROTOCOLS ------------------------------ Page 1
  2342.  
  2343.  
  2344.                    "BBS" FORWARDING PROTOCOL NOTES
  2345.  
  2346.     The following is an attempt to put  down in detail what the "CBBS"
  2347.     MailBox expects as  user input,  and the variations  that will  be
  2348.     accepted by the MailBox code.
  2349.     Forwarding works by  the simple  means of  the forwarding  MailBox
  2350.     acting  as   if  it   were   a  user   of  the   target   MailBox.
  2351.     Thus, it will use the "S" command to enter the message, in exactly
  2352.     the same way that a user does.
  2353.  
  2354.      The "S" command takes the form:
  2355.  
  2356.      "S"["x"] TO ["@" BBS] ["<" FROM] [$#####_K3KKK]
  2357.                  ["@" BBS.ST.USA.NA] <-- Hierarchical route.
  2358.  
  2359.     The "x" is an  optional message  type character.   The fields  are
  2360.     delimited by any number of spaces  or tabs.   Upper case or  lower
  2361.     case may be used.  TO, BBS, and FROM may be up to six  characters.
  2362.     If a trailing "-" and ssid are given, it  is thrown away.  The  "@
  2363.     BBS" and "< FROM" fields are optional, and may occur in any of the
  2364.     4 possible combinations. The '$' is  not  part  of  the  BID,  but
  2365.     identifies the field. There is no space between the $ and the BID.
  2366.  
  2367.     After receiving the "S" command, the  MailBox prompts for  message
  2368.     title.  The prompt is on one  line, ending with  CR.  The  message
  2369.     title is one line, ending with CR.   The title is truncated to  80
  2370.     characters by the MailBox.  After receiving the message title, the
  2371.     MailBox prompts for the message text.  The prompt is on one  line,
  2372.     ending with CR.   Message text  is a string  of ASCII  characters,
  2373.     ending in control-z.   The  station doing  the  forwarding  simply
  2374.     disconnects  once   it   has   passed   all   of   its   messages.
  2375.     Note that the MailBox prompt is identified by it's terminating ">".
  2376.  
  2377.     Starting with Version 4.4, the C BBS also supports the use of BIDs
  2378.     (Bulletin Identifiers)  and  to   use  them,  it  will,  when   it
  2379.     recognizes a similarly programmed BBS, enter into an exchange with
  2380.     said BBS.  This is according to the protocol developed by  WA7MBL.
  2381.     
  2382.     A BID capable BBS is recognized  by its sending a field  beginning
  2383.     with a '[' and ending with a ']'.  In addition, in the field is at
  2384.     least one '-'.    Anything following  the  LAST '-'  is  taken  to
  2385.     identify features available on that BBS.   The exchange from  this
  2386.     BBS is:
  2387.                   [CBBS-6.71-H$]
  2388.  
  2389.     When the BBS is connected to, it sends [CBBS-$],and if it receives
  2390.     [anything-$], it goes into its MBL-like mode.  It then gives you a
  2391.     prompt and waits  for  your  next  Send  command.   If you receive
  2392.     something like S  ALL $BID001,  it checks  to see  whether it  has
  2393.     received this BID before.  If not, it sends
  2394.  
  2395.        OK - 1234:    (will be message #1234)
  2396.  
  2397.     To which the sender then  sends the title followed immediately  by
  2398.     the message text. If it has that BID, it will send:
  2399.  
  2400.        NO- Already have it:          And then give a new '>'
  2401.  
  2402.      And the distant BBS will then proceed to the next message.
  2403.  
  2404. Chapter 7 ------------------- PROTOCOLS ------------------------------ Page 2
  2405. BID Protocol (Continued)
  2406.  
  2407.     Whether the connecting station is a BBS or not, if a message comes
  2408.     in addressed to something other  than a real  callsign, and is  of
  2409.     TYPE   B  it  is  assigned  a  BID  by  a  parsing   routine.   It
  2410.     finds the BBS of origin, and the  message number on that BBS,  and
  2411.     gives it a BID based on MSG#_BBSCALL ...   It will then check  the
  2412.     BID file and if the  message is  present,  it will  mark  it  hold
  2413.     pending operator  intervention (presumably  you already  forwarded
  2414.     the message.  This works with any system that has the terminal  -$
  2415.     in its [-$] field.
  2416.  
  2417.     The BID.MB file is an ascii text file, with one BID per line.   It
  2418.     can be edited to add or delete BID's as the sysop sees fit.  It is
  2419.     this BID that determine if  a message  with a bid  is accepted  or
  2420.     not.
  2421.                    System IDentifiers (SIDs) - W0RLI
  2422.  
  2423.     The initial exchange  between  "smart" BBS  systems uses  what  is
  2424.     called an "SID", short for System IDentifier.  All future work  on
  2425.     BBS systems should adopt this standard.  It will help to remove  a
  2426.     GREAT deal of confusion  as to which  systems have what  features,
  2427.     and how one  should interface  to  them.   In the  longer  future,
  2428.     perhaps all this junk can be done away with, and the computers can
  2429.     talk to each other in a more natural way.
  2430.  
  2431.     The system identifier is structured: "[f1-f2-f3]"
  2432.  
  2433.     The dashes delimit the end of the first field and the start of the
  2434.     last.  There might  be only  one dash,  if  f2 is  void.   f2  may
  2435.     contain dashes.
  2436.  
  2437.     f1, f2, and f3 may not contain "[" or "]".
  2438.  
  2439.     f1 is the  author identification.    It may  not contain  a  dash.
  2440.     Normally it  will  contain  a  few  characters  from  the  authors
  2441.     callsign.
  2442.  
  2443.     f2 is author specific data.
  2444.  
  2445.     It may contain anything  the author wishes,  for example  software
  2446.     version.  It may contain dashes.
  2447.  
  2448.     f3 is the supported feature set.  It may  not contain a dash.   It
  2449.     contains a  string   of  non-numeric  characters,  one  for   each
  2450.     negotiable feature  supported.    Each  character  may  also  have
  2451.     trailing digits, giving the revision of that feature.  If there is
  2452.     no trailing  digit,   the  feature  revision  is  revision   zero.
  2453.  
  2454.     Coding hint: if the first line seen  at connect to the bbs  starts
  2455.     with [ and ends with ], then it probably  is an SID.  For example:
  2456.  
  2457.       f1_start = fld + 1;
  2458.       f1_end   = strchr(fld, '-') - 1;
  2459.       f2_start = f1end + 2;
  2460.       f2_end   = strrchr(fld, '-') + 1;
  2461.       f3_start = f2_end + 2;
  2462.       f3_end   = strrchr(fld, ']') - 1;
  2463.  
  2464. Chapter 7 ------------------- PROTOCOLS ----------------------------- Page 3
  2465. Sid's (Continued)
  2466.  
  2467.     Defined features are:
  2468.  
  2469.      C - Supports "forwarding" of date and time.
  2470.      H - Supports Hierarchical forwarding.
  2471.      M - Supports Message Identifiers.
  2472.      W - Is a white pages server. (We were thinking about you, Eric!)
  2473.      Y - Supports YAPP binary protocol.
  2474.      $ - Supports BID. MUST BE LAST CHARACTER IN f3 (downward compatibility).
  2475.  
  2476.     The existance  of  the system  ID  also implies  that  the  system
  2477.     supports  reverse   forwarding  and   OK/NO   message   rejection.
  2478.     Some examples of existing standard system identifiers:
  2479.  
  2480.     [RLI-6.08-CM$]        - w0rli version 6.08, supports Clock, MID, BID
  2481.     [CBBS-$]              - CBBS flavor, supports BID.
  2482.     [CBBS-6.7-H$]         - CBBS source versions, supports BID, Hierarchical.
  2483.     [CBBS-4.5-$]          - ve3gyq release of the rli/gyq cbbs.
  2484.     [MBL-$]               - wa7mbl version unknown, supports BID
  2485.     [PRMBS-.98X-345-$]    - ka2bqe rip-off of w0rli cbbs V0.4
  2486.     [4RE-01-M$]           - aa4re V1, supports MID and BID.
  2487.  
  2488.     There is some older code still running that requires special  case
  2489.     handling.  In  these cases  there  is no  f3 or  feature  letters.
  2490.  
  2491.     Rule: OK/NO message rejection is required, and BID is supported.
  2492.  
  2493.     [MBL320]           - "old" wa7mbl systems.
  2494.     [MBL=RLI]          - ja0isk port of rli/gyq cbbs for NEC 9800
  2495.  
  2496.         The connect rules:
  2497.  
  2498.     Send the SID as first line at connect.
  2499.     Answer the SID (when seen as a command) with a short command prompt.
  2500.  
  2501.         The fowarding rules:
  2502.  
  2503.     If you do not see an SID at connect, use the old style fowarding.
  2504.     This handles the case of Xerox 820 systems, for example.
  2505.  
  2506.     If you do see an SID at connect, answer with your SID.
  2507.     Use whatever features are appropriate.
  2508.     Special case: MBL3 or MBL= seen at connect.
  2509.     Reply with [MBL-xxx], where xxx is anything you like.
  2510.     Continue with reverse forwarding and OK/NO message rejection.
  2511.  
  2512.            Zip Code Routing Note 1   -   W0RLI   -  7 Sept 87
  2513.  
  2514.     Several people  have   suggested  using  zip  codes  for   routing
  2515.     identifiers.  There are many possible  ways to do  this.  In  this
  2516.     note I outline two  suggestions.   These two  routing schemes  are
  2517.     compatible, and can co-exist on the network at the same time.  Two
  2518.     features are required  in the  BBS code to  support these  routing
  2519.     schemes  properly:  wildcard   capability  in   the  route   table
  2520.     destinations and "@  BBS" replacement.   Either  of these  schemes
  2521.     will help users: they no longer need to know the callsigns of  all
  2522.     the BBS in the world.  Users  need only know the state,  province,
  2523.     region, or zip code of the message destination.
  2524.  
  2525. Chapter 7 ------------------- PROTOCOLS ----------------------------- Page 4
  2526. Zip Routing (Continued)
  2527.  
  2528.  
  2529.     1) Zip code routing for NTS traffic.
  2530.  
  2531.     Use the form "ST nnnnn @ NTSxx" where nnnnn is the destination zip
  2532.     code and xx  is the  state, province,  or region  identifier.   In
  2533.     route tables far  from "xx"  only  the path  toward "xx"  need  be
  2534.     known.  Once the  message reaches  "xx" the  receiving BBS  should
  2535.     remove the "@ BBS" designator.  Routing  will then continue  using
  2536.     the zip code.
  2537.  
  2538.     2) Zip code routing to humans.
  2539.  
  2540.     Use the form "SP call @ zip" or "SP call  @ xx".  These forms  are
  2541.     not ideal.  What should be used is  a form with 3 address  fields.
  2542.     None of the BBS  codes  support this  yet.   The  ideal  form  for
  2543.     routing of personal messages  is  "SP call  @  zip @  xx".    This
  2544.     routing scheme then  would follow  the NTS routing  scheme in  1).
  2545.     Since we do not have a three  adress scheme, the first and  second
  2546.     forms in 2) would be the best available.
  2547.  
  2548.     Some examples of routings that could work now:
  2549.  
  2550.     ST 95060 @ NTSCA
  2551.     This message would end up at kb6irs or n6iya for delivery by NTS.
  2552.  
  2553.     SP W0RLI @ NTSCA
  2554.     This message would go to any of the  eight California HF BBS.   At
  2555.     the California HF BBS the "@  NTSCA" would be removed and  routing
  2556.     would continue in the normal manner to W0RLI.
  2557.  
  2558.     SP VE3FXB @ NTSON
  2559.     The same idea as the previous message.
  2560.  
  2561.     SP VK2AHX @ VK
  2562.     Again, the same idea.  Note that stations that do not have a  path
  2563.     to VK need only  keep the  single identifier "VK"  in their  route
  2564.     tables.
  2565.  
  2566.     SP W0RLI @ 95060
  2567.     With schemes like  this, and  the use  of wildcards  in the  route
  2568.     tables and "@ BBS" replacement tables, only a very few identifiers
  2569.     are required to  cover  the  entire  U.S.   If  this  message  had
  2570.     originated, for example, in  New England, the  BBS in New  England
  2571.     need only have  "9*"  in  it's  route table.    Once  the  message
  2572.     reached, for  example,  KD6SQ,  he  would  have  to  have  several
  2573.     identifiers.  "95*" would send the message from So.  Cal.  to  No.
  2574.     Cal., where the "@  BBS"  would be  removed.   It  would  then  be
  2575.     forwarded directly to W0RLI, since  W0RLI is known  to all BBS  in
  2576.     No.  Cal.
  2577.  
  2578.                        *** MESSAGES ***
  2579.  
  2580.     There are three types of messages:
  2581.  
  2582.     1) Personal.    If sent with SP, or with S and to a callsign.
  2583.     2) NTS Traffic  If sent with ST.
  2584.     3) Bulletins    If sent with SB, or with S and NOT to a callsign.
  2585.                     A BID is included with the message.
  2586.  
  2587. Chapter 7 ------------------- PROTOCOLS ----------------------------- Page 5
  2588.  
  2589.  
  2590.     Each type of message gets somewhat different handling:
  2591.  
  2592.     For NTS traffic, the LT, KT, and ET commands are active.
  2593.     For Bulletins, a BID is sent when forwarding to accepted bbs's.
  2594.     For Personal, The message can only be read by the sender, addressee,
  2595.                    and sysop.
  2596.     There are several "flags" associated with each message.  These are
  2597.     shown in  the "message  status"  position in  the  "list  message"
  2598.     display.  Note that each  Flag has an  associated "L" command  and
  2599.     some have associated "K" commands.
  2600.  
  2601.        B - The "Busy" or "Bad" flag:
  2602.            This indicates that a message is busy. Also indicates all
  2603.            duplicate bids and disconnects before message is completed.
  2604.  
  2605.        F - The "Forwarded" flag:
  2606.            This indicates the message has been forwarded to it's
  2607.            destinations, but has not been killed.
  2608.  
  2609.        H - The "Hold" flag:
  2610.            This indicates the message has been held. It will not
  2611.            forward, and can be only killed by the sysop.
  2612.  
  2613.        O - The "Stale" flag:
  2614.            This indicates a message has been around for too long.
  2615.            Time length is determined in the config.mb
  2616.  
  2617.        Y - The "Read" flag:
  2618.            This indicates that the message has been read by the addressee,
  2619.            but has not yet been killed.
  2620.  
  2621.        $ - The "Bulletin" flag:
  2622.            This indicates that the bulletin will be marked stale or killed
  2623.            after the last test. No user read check. Only visible to sysop.
  2624.  
  2625.         Message header formats in use at this time include:
  2626.  
  2627.     R:date/timez @:call qth #:nnn O:call S:date/time Z:zzz
  2628.     R:date/timez @:call qth #:nnn O:call S:date/time
  2629.     R:date/timez @:call qth #:nnn O:call Z:zzz
  2630.     R:date/timez @:call qth #:nnn Z:zzz
  2631.     R:date/timez @:call qth #:nnn O:call
  2632.     R:date/timez @:call qth #nnn O:call
  2633.     R:date/timez nnn@call [qth] Z:zzz  <--- Best one to use.
  2634.  
  2635.     1) calls may have ssid
  2636.     2) time may have timezone.
  2637.        If so, may be single char or 3 char.
  2638.        May be upper or lower case, or mixed.
  2639.     3) qth may be enclosed in []
  2640.     4) Space between @ call and qth may be missing
  2641.     5) ":" between field ID and contents may be missing.
  2642.     6) May be space between ":" and field contents.
  2643.  
  2644.     There are many  other forms  seen.   They may  leave out  required
  2645.     information.  They may have the required information in unexpected
  2646.     format.  There is little chance of parsing them all, and no reason
  2647.     to do so.
  2648.  
  2649. Chapter 8 ------------------- DESQVIEW ------------------------------- Page 1
  2650.  
  2651.  
  2652.                SETTING UP MULTIPLE BBS'S WITH DESQVIEW - AG3F
  2653.  
  2654. 1. CONFIG.SYS
  2655.     Create file config.sys in the  root (\) directory with an  editor.
  2656.     As a minimum it it must contain the files and buffers  statements.
  2657.     Other possible additions are  a ram  disk and the  driver for  any
  2658.     installed EEMS boards.   DESQview will  run with  the normal  640K
  2659.     system memory but you  will be  very limited  as to  the size  and
  2660.     number of programs you will be able to use in addition to the  BBS
  2661.     copies.  The following is the config.sys  in use at AG3F where  an
  2662.     AST SixPakPremium  EEMS multifunction  with  1 meg  of  memory  is
  2663.     installed   in   addition   to   256k   of   motherboard   memory.
  2664.  
  2665.                   files=30
  2666.                   buffers=20
  2667.                   stacks=9,128
  2668.                   device=remm.sys /x=A000-BFFF
  2669.                   device=fastdisk.sys /m=64 /dextm
  2670.  
  2671. 2. INSTALLING DESQVIEW
  2672.     Install DESQview  V2.01  or  later  on the  hard  drive  by  using
  2673.     Quarterdeck's instructions.  In general this will involve  placing
  2674.     the distribution diskette in floppy drive "A" and typing  install.
  2675.     You will be  prompted for  the desired destination  drive and  for
  2676.     your system  configuration.    This  process  will  create  a  \DV
  2677.     directory on the hard drive that will include all of the necessary
  2678.     DESQviev files.    Any  commercial  programs  that  are  known  to
  2679.     DESQview and  were  residing  on  your hard  drive  will  also  be
  2680.     installed for access from  DESQview.   At this  point install  any
  2681.     other programs you desire by using the DESQview instructions.   It
  2682.     is suggested that you run these programs from DESQview and  become
  2683.     familiar with DESQview operation.
  2684.  
  2685. 3. DESQVIEW PARAMETERS
  2686.     From the > prompt in subdirectory DV type SETUP.  This will  bring
  2687.     up the DESQview setup screen.  Select the advanced setup and  when
  2688.     in that window select performance  option.  Change  the number  of
  2689.     clock ticks   to  7  for   foreground  and  background   programs.
  2690.     Experimentation has shown for a  4mhz xt  7 is suitable.   If  you
  2691.     utilize other clock speeds you may have to experiment to find  the
  2692.     best  value  but  in  any  case  both  foreground  and  background
  2693.     operations must be the same  since running multiple copies of  the
  2694.     bbs really  does  not  have  a  background  program.    The  other
  2695.     parameters available for modification were  left at their  default
  2696.     values.
  2697.  
  2698. 4. SUBDIRECTORIES
  2699.     Setup the directory/subdirectory system  for the  mailboxes.   The
  2700.     config's must be different for each window used.  The  files  LOG,
  2701.     MON, and CALLS must be different for each window. It is easier  to
  2702.     just use the port letter as the .ext of each of these  files.  The
  2703.     MAIL.DAT and USER.DAT are shared by all the windows. The FWD  file
  2704.     can be a common file or you can use different files for each port.
  2705.  
  2706. Chapter 8 ------------------- DESQVIEW ------------------------------- Page 2
  2707. Subdirectories Continued)
  2708.  
  2709.  
  2710.           \mb
  2711.             mb.exe
  2712.             br3bios.com
  2713.             mbmode.exe
  2714.             hand.com
  2715.             config.a ------ config.b ------ config.c
  2716.  
  2717.           \mb\bbs
  2718.             help.mb
  2719.             info.mb
  2720.             user.dat
  2721.             user.bak
  2722.             fwd.mb
  2723.             states.mb
  2724.             mail.dat
  2725.             mail.bak
  2726.             mon.a --------- mon.b --------- mon.c
  2727.             calls.a ------- calls.b ------- calls.c
  2728.             log.a --------- log.b --------- log.c
  2729.  
  2730.           \mb\msgs
  2731.  
  2732.  
  2733. 6. ADDING THE BBS PROGRAM TO DESQVIEW
  2734.  
  2735.     Add the bbs  programs to  DESQview by selecting  add program  from
  2736.     second menu.  Following the prompts add the following information:
  2737.  
  2738.     program name   bbs1                     memory size 103
  2739.     program        mb                       or 150 if using dos commands
  2740.     parameters     config.a <-- config file used.
  2741.     directory      c:\mb
  2742.     options:
  2743.     Writes to screen   [n]
  2744.     Displays graphics  [n]
  2745.     Virualize text     [n]
  2746.     Uses serial ports  [n]
  2747.     Requires floppy    [n]
  2748.  
  2749.  
  2750.     TO SELECT ADVANCED OPTIONS  HIT (F1)
  2751.  
  2752.     Close on exit      [Y]                Own colors      [n]
  2753.     Allow close window [Y]                Runs in back    [Y]
  2754.     Math coprocessor   [n]                Kbd conflict    [1]
  2755.     Share cpu          [Y]                Share ega       [n]
  2756.     Can be swapped     [n]                Protection      [0]
  2757.  
  2758.     All other parameters are as default.
  2759.     Add the second and subsequent copies of the bbs as above using
  2760.     the proper program names and directorys.
  2761.  
  2762. Chapter 8 ------------------- DESQVIEW ------------------------------- Page 3
  2763.  
  2764.  
  2765. 7. PORT INITIALIZATION
  2766.    Construct a batch file to execute the necessary port initializations
  2767.    as described previously. The one in use at AG3F resides in the root
  2768.    directory of drive c: and is called startbbs.bat. It is as follows:
  2769.  
  2770.  
  2771.    cd \mb                     Notes:
  2772.    share /F:2048 /L:64
  2773.    br3bios                       3 ports are used, BR3BIOS is configured
  2774.    mbmode com1:48,n,8,1          for 3 com ports. Hand is required to
  2775.    mbmode com2:48,n,8,1          handshake between DESQview windows.
  2776.    mbmode com3:48,n,8,1          FASTOPEN (Dos v3.3) permits quicker disk
  2777.    hand                          access.
  2778.    cd \dv
  2779.    fastopen c:
  2780.    dv
  2781.  
  2782.  
  2783. 8. CONFIGURATIONS
  2784.     Prepare a config.x for each copy of the bbs.
  2785.  
  2786. 9. STARTING THE BBS MANUALLY
  2787.     From the dos prompt  type STARTBBS  or what ever  you called  your
  2788.     port initialization batch file.  This will load the bios  drivers,
  2789.     run mode on all ports, load  pipe, run any other special  programs
  2790.     and finally invoke DESQview.  You will  now be at the open  window
  2791.     menu of DESQview.   Select open  and then the  first bbs  program.
  2792.     Program #1 will start and occupy the upper 1/2 of the screen.   Do
  2793.     the same with  copy #2  which will  be  in the  lower 1/2  of  the
  2794.     screen.  Other copies  can be  loaded similiarly  and will  occupy
  2795.     screen locations defined  in the  DV setup.   Now  all is  running
  2796.     simultaneously.  You  can  switch, zoom,  blank  or  select  other
  2797.     windows without interrupting the bbs activity.
  2798.    
  2799. 10. AUTOMATIC STARTUP
  2800.     If desired you may arrange the system to reboot and restart up the
  2801.     bbs's if the computer is shut  off or experiances a power  outage.
  2802.     This requires two steps.
  2803.  
  2804.     a. Insert the name of your initialization batch file into your
  2805.        autoexec.bat file.
  2806.  
  2807.     b. Create a DESQview autostart macro.  This is done by assigning a
  2808.        series of key  strokes  to the  !  key while  in  DESQview  but
  2809.        without any application  program running.    Follow  the  learn
  2810.        instructions in your DESQview manual.   The steps  for a 2  bbs
  2811.        seup typically would be:
  2812.  
  2813.        Type DV to start DESQview
  2814.        shift-alt  (select start learn,indicate the ! key and pick name)
  2815.        open window
  2816.        open bbs#1
  2817.        shift-alt  (select time delay  30 )
  2818.        open window
  2819.        open bbs#2
  2820.        shift-alt  (select end learn)
  2821.        quit DESQview and say yes to save scripts
  2822.  
  2823. Chapter 8 ------------------- DESQVIEQ ------------------------------- Page 4
  2824.       
  2825.        The script file produced by the above is desqview.dvs and  will
  2826.        be found in the  Dv  directory.   This  file can  be  made  man
  2827.        readable by using the  program  convscr.com provided with DV. A
  2828.        converted   program    would   look    like   the    following:
  2829.  
  2830.        {Learn ! "boot boards"}
  2831.        om1{Delay 30}{DESQ}om2
  2832.        {Finish}
  2833.  
  2834.        o means open
  2835.        m1 is my 1st bbs program
  2836.        m2 is my 2nd bbs program
  2837.        Learn and Finish are the start  and end of the learn  commands.
  2838.        You can if desired, create a text  file like the above, and  by
  2839.        the use of convscr convert it to desqview.dvs and eliminate the
  2840.        step by step procedure described above.
  2841.  
  2842.  
  2843. 11. USING DESQVEIW WITH THE BBS
  2844.  
  2845.     When you are not using the console for watching the bbs, you might
  2846.     want to hide the windows before you shut it down.  To do this  you
  2847.     just hit the 'ALT' key, then 'R' for rearrange, then 'H' for hide.
  2848.     This will blank out the window.  Doing this for all windows before
  2849.     shutting off the console will speed  DESQview up as no display  is
  2850.     taking place.  To get  things back after  turning on the  console,
  2851.     just hit the 'ALT" key and  then the number  key for each  window.
  2852.  
  2853. Chapter 9 -------------------- MODEM USAGE --------------------------- Page 1
  2854.  
  2855.  
  2856.  
  2857.                             *******************
  2858.                             *** MODEM USAGE ***
  2859.                             *******************
  2860.  
  2861.  
  2862.  
  2863.         A modem port can be configured for access to the bbs.  It can  be 
  2864.         configured  to  a  port in a non DESQview system, or  it  can  be 
  2865.         configured to a port in a DESQview window that also services  one 
  2866.         or  more  TNCs or it can be configured in a  DESQview  window  by 
  2867.         itself.   The  last case is the best choice since  it  guarantees 
  2868.         that  the bbs will not be busy when you call.  Even though  other 
  2869.         windows may be in use it is still possible to access the messages 
  2870.         because  of the common mail file.  This same window can  also  be 
  2871.         used  from  the local keyboard to permit access to  the  messages 
  2872.         without blocking users or forwarding.
  2873.  
  2874.  
  2875.         The modem must be set up for "quiet" automatic answer at the  de-
  2876.         sired baud rate before it is connected to the bbs software.   Any 
  2877.         of the standard terminal programs can be used to perform this set 
  2878.         up.   It  is important that the modem be able to come up  in  the 
  2879.         proper  mode following a power failure.  Most current Hayes  com-
  2880.         patible modems have a non-volatile memory to store their  parame-
  2881.         ters.  Earlier versions used dip switches.  The important parame-
  2882.         ters are:
  2883.  
  2884.         E0    disable echo of commands
  2885.         S0=n  n is the number of rings before the modem answers
  2886.         Q1    disable result codes
  2887.         &C1   data carrier detect (DCD) only when carrier present
  2888.         &D2   data terminal ready (DTR) required for modem to answer
  2889.  
  2890.  
  2891.         There is no intelligence in the software to issue commands to the 
  2892.         modem.   Check your modem manual for instructions on setting  the 
  2893.         modem to automatic answer "dumb" mode.  The DCD line is the  most 
  2894.         important.   If  the bbs software detects loss of  DCD,  it  will 
  2895.         react the same as for a disconnect from a TNC.
  2896.         
  2897.         The modem port must be initialized by MBMODE the same as for  the 
  2898.         TNC  ports.  No provision is made for baud rate switching in  the 
  2899.         software.   The  port definition line in config.mb  must  have  E 
  2900.         (port requires echo), L (line feed after carriage return), and  S 
  2901.         (raw serial port) specified.  T (TNC with TAPR commands) must NOT 
  2902.         be specified.  The other codes may be set as desired although the 
  2903.         I  (kick off user with illegal call)  code is strongly  recommend 
  2904.         to  help thwart anyone who might stumble across your auto  answer 
  2905.         modem.  A high ring count is also a good idea.  It is not a  good 
  2906.         idea to let users connect to your system via the modem port.  The 
  2907.         software  for  the serial port would have to be  made  much  more 
  2908.         "bullet"  proof for this to be feasible.  Remote control  of  the 
  2909.         bbs is the main use for a modem port.
  2910.  
  2911. Chapter 9 --------------------- MODEM USAGE ------------------------- Page 2
  2912. (Continued)
  2913.  
  2914.  
  2915.  
  2916.         Now  for  the secret that I had to study the code  to  determine.  
  2917.         You  call in to the modem and it answers and  absolutely  nothing 
  2918.         happens.   You must type the exact string that a TNC  would  send 
  2919.         when  a connection is made including a valid call sign.  An  SSID 
  2920.         different  from what you use on the TNC ports makes it easier  to 
  2921.         keep track of modem connections.  The string you must send is:
  2922.  
  2923.         *** CONNECTED to WA3TSW-1
  2924.  
  2925.         followed by a carriage return.  Obviously you use your own  call.  
  2926.         If  the I parameter is set and the call sign is not valid,  there 
  2927.         will  not  be any response.  At this point you will  receive  the 
  2928.         same  introduction and prompts that would occur if you  connected 
  2929.         via a TNC.  Operation of the bbs is identical to connection via a 
  2930.         TNC port.  When you are done you can simply hang up.   The  modem 
  2931.         will detect loss of carrier and drop the DCD line.  The  software 
  2932.         will  react  the same as if a TNC user  disconnected  instead  of 
  2933.         using the B command.  You can use the B command before hanging up 
  2934.         but  there will be no response to indicate that anything is  hap-
  2935.         pening.
  2936.  
  2937.  
  2938.         Thanks to WA3TSW for this info on modem operation.
  2939.  
  2940. Chapter 10 ------------------ MBRESTM -------------------------------- Page 1
  2941.  
  2942.                       *** USING MBRESTM.EXE ***
  2943.  
  2944.     Restoring a crashed mail.dat file is now easy to do.  With version
  2945.     5.0 and later versions, an invisible  header is now put into  each
  2946.     message text file.  That is, invisible to the bbs.  So all that is
  2947.     needed to restore MAIL.DAT  is the  message text files.   Even  if
  2948.     some of these files are bad, you can still reconstruct a  mail.dat
  2949.     file with the files that you still have.
  2950.  
  2951.     To  run  the  restore  program,  place  MBRESTM.EXE  in  the  same
  2952.     subdirectory as the message files, and then type MBRESTM.  It will
  2953.     check  for   message  files,   check  for   the  inbedded   header
  2954.     information, then sort the message files, and finally creat a  new
  2955.     MAIL.DAT in the same directory.   You will also  be told what  the
  2956.     next message number is, and asked if you want to change it.
  2957.  
  2958.     Now all you  have to  do is  place the  NEW MAIL.DAT  file in  the
  2959.     proper subdirectory using copy,  and the  bbs is now  ready to  be
  2960.     loaded with a reconstructed mail file.
  2961.     MBRESTM with a single argument (MBRESTM X) will now run automatic-
  2962.     ally with no operator intervention.
  2963.  
  2964.                 MAIL.DAT -- mail file header format
  2965.  
  2966.      1-2     2       NEXT    Next record to allocate, binary (LAST+1)
  2967.      3-4     2       FIRST   First msg header record, binary (always 1)
  2968.      5-6     2       LAST    Last msg header record, binary (COUNT)
  2969.      7-8     2       NEXTM   Next msg number, binary
  2970.      9-10    2       UNTMSG  Next msg at last untangle, binary
  2971.      11      1       VERSION Mail file version, binary
  2972.      12-13   2       SPARE   Unused
  2973.      14-15   2       COUNT   Number of messages, binary
  2974.      16-21   6       DATE    Date of last untangle  YYMMDD
  2975.      22-25   4       TIME    Time of last untangle  HHMM
  2976.      26-256  231             unused, filled with nulls
  2977.  
  2978.                  MAIL.DAT -- typical message entry format
  2979.  
  2980.      1       1       EXT     Header extension flag or zero
  2981.      2-3     2       RN      Record number
  2982.      4-5     2       READ    Times read in binary
  2983.      6-7     2       NUMBER  Message number in binary
  2984.      8-9     2       SIZE    Message size in binary
  2985.      10      1       TYPE    Message type (Ascii)
  2986.      11      1       ST      Status (01 read, 02 fwded, 04 kill, 08 busy)
  2987.                                     (10 unused, 20 old, 40 hold, 80 bulletin)
  2988.      12-17   6       TO      To, trailing spaces
  2989.      18-23   6       FROM    From, trailing spaces
  2990.      26-29   6       BBS     BBS, trailing spaces
  2991.      30-35   6       DATE    Date  YYMMDD
  2992.      36-39   4       TIME    Time  HHMM
  2993.      40-51   12      BID     BID, trailing NULLS
  2994.      52-131  80      SUBJECT Msg title with trailing NULLS
  2995.      132-227 96      CALL    DIS routing, max 16 calls, 6 chars each
  2996.      228-243 16      FLAG    DIS routing, binary 1 unforwarded, otherwise 0
  2997.      244     1       COUNT   Number of calls in DIS list, binary
  2998.      245-250 6       FCALL   Callsign of bbs message forwarded to
  2999.  
  3000. Chapter 10 ----------------- MAIL FORMAT ----------------------------- Page 2
  3001.  
  3002.  
  3003.                  INDIVIDUAL MESSAGE FILE HEADER FORMAT
  3004.  
  3005.     All 256 bytes  are  filled  with  nulls to  start  with  and  then
  3006.     replaced with the appropriate values.  Only the area trailing  the
  3007.     message title is left as nulls.
  3008.  
  3009.     Everything except those nulls are ascii. Nothing is left as binary
  3010.     data.
  3011.  
  3012.     All fields are completely filled with the contents of the variable
  3013.     assigned to that area.  If the contents are not big enough to fill
  3014.     the field the extra area is  filled by leading or trailing  spaces
  3015.     (hex 20).
  3016.  
  3017.   POSITION  SIZE    VARIABLE   CONTENT
  3018.  
  3019.      1-5     5       NUMBER   Message NUMBER in ascii, leading spaces
  3020.      6       1                space
  3021.      7       1       TYPE     Message TYPE
  3022.      8       1       ST       STATUS
  3023.      9       1                space
  3024.      10-14   5       SIZE     Message SIZE in ascii, leading spaces
  3025.      15      1                space
  3026.      16-21   6       TO       TO, trailing spaces
  3027.      22      1                space
  3028.      23-28   6       FROM     FROM, trailing spaces
  3029.      29      1                space
  3030.      30-35   6       BBS      BBS, trailing spaces
  3031.      36      1                space
  3032.      37-42   6       DATE     DATE  YYMMDD
  3033.      43      1                space
  3034.      44-47   4       TIME     TIME  HHMM
  3035.      48      1                space
  3036.      49-60   12      BID      BID, trailing spaces
  3037.      61      1                space
  3038.      62-66   5       READ     Times READ in ascii, leading spaces
  3039.      67      1                CR
  3040.      68      1                LF
  3041.      69      1       EXT      Extension FLAG, 0 = cc line absent,
  3042.                                               1 = cc line exists
  3043.                                               2 = Hierarchical list
  3044.      70      1                space
  3045.      71-86   16      FLAGS    cc line flags each corresponding to a line in the
  3046.                                         DIS file that matches the @BBS field.
  3047.                                0 = we have fowarded to this station
  3048.                                1 = we have not fowarded.
  3049.                               If we don't have a cc line, these are 16 spaces.
  3050.      71-XX   XX      HLIST    With EXT = 2 This contains the hierarchical list.
  3051.      XX      1                CR
  3052.      XX      1                LF
  3053.      XX-XX   82      SUBJECT  Message TITLE (80 max), then CRLF
  3054.      XX-254  84               NULLS
  3055.      255     1                CR
  3056.      256     1                LF
  3057.  
  3058.  
  3059.     Thanks to AG3F in helping iron out some of the mysteries of  this.
  3060.  
  3061. Chapter 10 --------------- LISTING MESSAGES -------------------------- Page 3
  3062. (Revision A)
  3063.  
  3064.                       WORKING WITH THE MAIL FILE
  3065.  
  3066.     There are many ways  to list  messages in  the mail  file for  the
  3067.     sysop.  The common method is to just do  a "L" every time you  log
  3068.     into the bbs.  This will list all messages active on the bbs since
  3069.     your last login.  A better method is to use the "LE" command which
  3070.     will  list  ALL  messages   (active  messages,  killed   messages,
  3071.     duplicate bid headers, and disconnect-timeout headers).  In  other
  3072.     words, all message  numbers  in serial  fashion, since  your  last
  3073.     login.
  3074.  
  3075.     Also available to the sysop is the  "LU" command.  This will  list
  3076.     all messages not yet forwarded, and messages to your local  users.
  3077.     It does not list bulletins and gives the  sysop an idea as to  how
  3078.     the bbs is performing on forwards.  You can also get a quick  view
  3079.     of messages addressed to bbs's not  in your forward file and  make
  3080.     the necessary corrections to it.
  3081.  
  3082.     A feature not commonly used is the adding of the ";" as the second
  3083.     or third field of list commands.  The  example - "LE ;" will  list
  3084.     exactly like the "LE"  except extra lines  will appear  containing
  3085.     the BID, if any,  and the  HIERARCHICAL ROUTE.   Not all  messages
  3086.     have bids and, right  now, few will  have any hierarchical  route,
  3087.     but   the    the   listing    is   available    to   the    sysop.
  3088.  
  3089.     Common listings available to users  are also usable to the  sysop.
  3090.     Examples such as "LA" to list  all type A  messages, "LB" to  list
  3091.     all bulletins, "LM" to list  all your own  messages, "LY" to  list
  3092.     all messages that have been  read, "LO" to  list messages the  are
  3093.     stale, "LK" to list  messages that have  been killed, "L@  (call),
  3094.     "L> (call), and "L<  (call) add more  selectivity to the  listing.
  3095.  
  3096.                         *** HOLD MESSAGES ***
  3097.  
  3098.     The "LH" command lists all  messages that are  being held.   These
  3099.     messages are marked hold so that  the sysop can  act upon them  by
  3100.     using the edit message command.   If  any call in  the hold  calls
  3101.     list in the config file matches the TO, FROM, or BBS of a  message
  3102.     it will be marked as hold.   Another  example is if  a message  is
  3103.     received without a bid,  and has  a distribution call  in the  bbs
  3104.     field.  You cannot distribute a message without a bid attached  to
  3105.     that message. A message is also put on hold if the bbs finds  your
  3106.     header with your call in it, meaning that your bbs had the message
  3107.     before. (Ping-Ponging) This is set by a config option.
  3108.  
  3109.     There are many other varations  available to the  sysop.  Most  of
  3110.     the two letter commands can also  take a number  after them.   "LE
  3111.     10" will list the last ten messages.  But probably the most useful
  3112.     commands are the "LE" and "LU"  which show what messages you  have
  3113.     received and what has yet to forward.
  3114.  
  3115.  
  3116.     Additional info may  be found  by looking  at the  "L COMMAND"  in
  3117.     chapter 4, and MESSAGES in chapter 7.
  3118.  
  3119. Chapter 11 -------------- ARCHIVE MESSAGES --------------------------- Page 1
  3120.  
  3121.  
  3122.  
  3123.                           ARCHIVING MESSAGES
  3124.  
  3125.  
  3126.       The CBBS code now handles a new method of saving KILLED messages
  3127.     If a sysop wants to save all  killed mail, the  the only thing  he
  3128.     has to do is create a subdirectory called  "KILL" in the  messages
  3129.     subdirectory.  If he wants to save all nts messages, then he makes
  3130.     a subdirectory called "NTS".   For  saving all mail  either to  or
  3131.     from the sysop, he then makes a subdirectory with his call.  (e.g.
  3132.     K3RLI)   You   can   also   make   special   subdirectories   with
  3133.     classifications of any @BBS field, such as, RLIBBS, MBLBBS, ALLPA,
  3134.     ect.  You can use as many subdirectories as you want, and  related
  3135.     classes of mail will be archived into them.
  3136.  
  3137.       So, if you are a traffic manager, and your only  interest is  in
  3138.     saving traffic and service messages,  then you only need create  a
  3139.     subdirectory of "NTS".  If you  are only interested in saving  any
  3140.     dialogue between  you   and  other  users,   then  you  create   a
  3141.     subdirectory with your call sign.  All of these subdirectories are
  3142.     made in the MSGS subdirectory.
  3143.  
  3144.       Another feature is that in each of these subdirectories, a  file
  3145.     called INDEX is created.   This file will  contain the headers  of
  3146.     all the message files archived.  As you add more message files  to
  3147.     the subdirectory, INDEX will have  the new headers appended to  it
  3148.     in serial fashion.  So  you will  have an  INDEX file  of all  the
  3149.     message files in the corresponding subdirectory.  All the archived
  3150.     files, including the INDEX file are  text files, and as such,  can
  3151.     be edited with any text editor.  You  can also copy all the  files
  3152.     from a subdirectory to a floppy, then delete all the files in that
  3153.     subdirectory and start over.  That way the floppy will contain all
  3154.     the archived message files and their corresponding index file.
  3155.  
  3156.      If you create a subdirectory called BUSY, all incomplete messages
  3157.     caused by a timeout or disconnect will  be put in  it.  The  index
  3158.     file from this subdirectory might be handy to see how some  of the
  3159.     paths reflect the quality of forwarding.  Poor paths usually  mean
  3160.     more timeouts and disconnects.
  3161.  
  3162.       Be sure you check the archived messages as you can fill  up  the
  3163.     the disk quite easily on an active  bbs.  A floppy can hold  about
  3164.     111 - 112 directory entries, and will display  an error once  that
  3165.     limit is reached. So you might copy the files off the  bbs  before
  3166.     that limit is reached.
  3167.       Another method is to copy the INDEX to a floppy,  and  then  use
  3168.     PKARC to archive the messages to an archive file.
  3169.     [\PKARC -a A:MESSAGES.ARC \MB\MSGS\K3RLI *.* ] and then delete the
  3170.     the subdirectory files.
  3171.  
  3172.       A new feature has been added to allow you to kill a message  and
  3173.     NOT allow it to be archived.  You use the KA <message #>  to  kill
  3174.     the message and it will not be archived during the GM.
  3175.  
  3176. Chapter 12 -------------------- MAINTENANCE -------------------------- Page 1
  3177.  
  3178.  
  3179.                             SYSOP MAINTENANCE
  3180.  
  3181.     The bbs if setup properly  will maintain itself quite nicely  with
  3182.     little sysop intervention.  With YES in the config line to KILL on
  3183.     forward, all forwarded mail will be killed.  With NO in the config
  3184.     line to KILL F & B type messages, bulletins will NOT be killed  on
  3185.     forward.  The mail will not be deleted from the mail file until  a
  3186.     mail file compress is  done.   This can be  done automatically  by
  3187.     having YES <hour> in the  config on the  line for compressing  the
  3188.     mail file.  The <hour> being  what hour  of the day  for the  file
  3189.     compress to take place.
  3190.  
  3191.     Other  spots  for  consideration  are  the  lines  in  the  config
  3192.     controlling stale or old mail.  The  first concerns Bulletin  type
  3193.     mail.  You enter  the number  of days  before a  Bulletin will  be
  3194.     marked as stale "O", or, if YES  follows the number  of days,  the
  3195.     Bulletin will be killed.  The second  line concerns Traffic  mail,
  3196.     and the third, Personal mail.  These  lines should look  something
  3197.     like this:
  3198.  
  3199.     45 YES  <----- Kill Bulletins after 45 days.
  3200.     7  NO   <----- Mark Traffic stale after 7 days.
  3201.     14 YES  <----- Kill Personal mail after 14 days.
  3202.  
  3203.     If you wish  to keep  a bulletin from  being killed  automatically
  3204.     after the set number  of days,  you must, at some time, edit  that
  3205.     bulletin and change the status to hold "H".  This way the bulletin
  3206.     will never be killed until you change the status back to normal.
  3207.  
  3208.     The Bid file requires maintenance,  as Bid's are not deleted  from
  3209.     this file.  The sysop must delete old  bids to keep the file  from
  3210.     getting too large, and also at  least once a  year, so old  annual
  3211.     bids are removed.   A  good time  to delete  some of  the bids  is
  3212.     probably quarterly.
  3213.  
  3214.     Version 6.2 of the  bbs will now end  the log file  at the end  of
  3215.     each month.  The log file will be renamed to include the number of
  3216.     the month in the log file.
  3217.  
  3218.     Version 6.4 of the bbs will  now add a  hierarchical route to  all
  3219.     incoming messages which have the bbs  field with a call listed  in
  3220.     the STATES.MB file.  So all you will need in the forward file is a
  3221.     list of states and local bbs's that you  forward to.  You can  add
  3222.     to the STATES.MB file any routes you think will be necessary.  Use
  3223.     STATES.EXE to make STATES.MB from the latest W9ZRX bbs list.   You
  3224.     can also add special routes like  WA7SSO.#WPA.USA.NA with #WPA  in
  3225.     your forward file. Comments can be added to the STATES.MB  file so
  3226.     that users can lookup any bbs with the 'P' Command.
  3227.  
  3228.     As time progresses, the disk will become  fragamented.  This  will
  3229.     cause the bbs operations to slow up a bit.  A good choice at  this
  3230.     time is  to backup  the  entire disk,  and  run one  of  the  disk
  3231.     optimizers to place  the disk  file system back  in smooth  order.
  3232.     After that's done, just reload the bbs. Again,  quarterly  is  the
  3233.     best time.
  3234.  
  3235. Appendix A ------------------ CHANGES -------------------------------- Page 1
  3236.  
  3237.       Changes from 4.4 to V4.51  Starting 2/18/88
  3238.  
  3239. Removed the pause message whenever the printer is toggled on.
  3240. Log file now logs @bbs field in message entries.
  3241. Log file now logs local message entries.
  3242. Password routine added to insure security of remote sysop.
  3243. Fixed bug in gate: Allowed users to use gateway when G not in config.
  3244. Alternate display of tnc cmds when 123 not in config. Shows port letter
  3245.   as upper case if normal, and lower case if timeout on cmd:.
  3246. Forward timeout field now in port config line. Allows time for tnc to
  3247.   flush out it's buffer on timeout before starting next connect.
  3248. Single header line when using pipe between multiple bbs's.
  3249.  
  3250.       Changes from V4.51 to V4.52  Starting 3/3/88
  3251.  
  3252. Fixed bug in Edit message to add bid to BID file with blank BID.
  3253. Printer now shut off when sysop goes BYE.
  3254. Now only messages with no type to a legal callsign become private.
  3255. Log file now logs Make type messages.
  3256. ":"'s added after Ok and No responses for uniformity.
  3257. User record is updated with next message number only if user does 'L'.
  3258. Added "Are you sure?" to Quit and Untangle commands.
  3259.  
  3260.       Changes from V4.53 to V4.6 10 Starting 6/10/88
  3261.  
  3262. Fixed bug with timeout in forwarding.
  3263. New edit message & edit user format for sysop.
  3264. Transparent mode now changed from edit port parameter.
  3265. Message without a bid at a distribution list put on hold.
  3266. Added Zip to white paper for consistency.
  3267. Fwdcmd now replies done when done for consistency.
  3268. Now match Conn or Disc anywhere in received line.
  3269. Fixed minor bug on DOS operations.
  3270. Received scripts now can be partially matched.
  3271. Waitcmd time now set correctly if using DesqView.
  3272. Check for [...] only for first response on connect.
  3273. Bulletins now considered like type F messages on forwarding.
  3274. Fixed minor bug for bid check in SM and MM commands.
  3275. Fixed generated bid in WP and Service messages.
  3276. Placed tnc in converse mode when sysop talks to user.
  3277. Corrected bugs in transparent mode operation.
  3278. Corrected long standing loging bug.
  3279. Made message auto-BID's 12345_K3XXX for consistency.
  3280. Added NEW DESQview and DoubleDOS flags in config.
  3281. Forwarded traffic not shown to users.
  3282. Stopped *** Invalid Command from other bbs causing messages to be lost.
  3283. Clsmon done at forwarding time.
  3284. Fixed bugs in remote sysop using pipes.
  3285.       Changes to V4.6 to V4.6+ Starting 7/24/1988
  3286. [...] in prompt lines does not reset sid options.
  3287. Added eat in dorev to pick up ending prompt bug.
  3288. Dos commands not done on force forward.
  3289. Fixed remote sysop operations to work properly in trans mode & pipes.
  3290. Changed %d to %u for counting of messages above 32k.
  3291. Better handling of distribution calls in edmsg.
  3292. Switching from converse to transparent mode handled better.
  3293. Misc. small errors corrected.
  3294.  
  3295. Appendix A ----------------- CHANGES --------------------------------- Page 2
  3296. (Continued)
  3297.  
  3298.       Changes from V4.6+ to V5.0 Starting 10/9/1988
  3299.  
  3300. Multiuser version using one common mail file between windows
  3301. Version 9 mail file structure.
  3302. Added voids to list headers for duplicate bids and disconnects.
  3303. Added MBIBM functions for handshaking thru HAND.
  3304. Added A and AI for forwarding on all windows by sysop.
  3305. Added setbusy and clearbusy and auto GM for mail compress.
  3306.  
  3307.       Changes from V5.0 to 5.1 Starting 11/11/1988
  3308.  
  3309. Added LOCK function and deleted pipe functions.
  3310. No beacon if the calls for BT is set at 1.
  3311. Deleted p_memory and DoubleDos references.
  3312.  
  3313.       Changes from V5.1 to 5.11 Starting 11/30/1988
  3314.  
  3315. Fixed parsehd() for some non-standard headers from other bbs code.
  3316. Deleted phead and replaced with parsehd.
  3317. Reverse forward does not need port->id match.
  3318. Fixed scripts left after Case E forwarding.
  3319. Disconnect now stops file and message dump to tnc.
  3320. String defined wrong in puser.
  3321.  
  3322.       Changes from V5.11 to V5.2 Starting 1/05/1989
  3323.  
  3324. Added message archiving by subdirectory on GM.
  3325. Fixed readusr to handle GU's.
  3326. Filter control characters from title.
  3327. Fix blank line from BBSMSG ON on retry out exceeded.
  3328. Removed unnecessary logging in forward.
  3329. Added LU command for listing of unforwarded mail.
  3330. @ sub-forward files can now be timed.
  3331. Speeded up forwarding using @ sub files.
  3332.  
  3333.  
  3334.       Changes from V5.2 to 6.0 Starting 2/05/1989
  3335.  
  3336. Added H to sid for hierarchical forwarding.
  3337. Fixed reversing forwarding of same bulletin back to bbs in .DIS list.
  3338. Inbedded header now supports hierarchical list.
  3339. Edit message and edit traffic supports hierarchical list.
  3340. New MBRESTM code to handle restoring hierarchical list.
  3341. Added bid to archived messages.
  3342. Fixed page check for added lines in headers.
  3343. Fixed bug in forward to PBBX mailboxes.
  3344. Quit now clears window busy flag.
  3345. Fixed some serial port bugs.
  3346. H status mail now listed with higher priority.
  3347. Actual bid now shown in busy header with sender's call, also in log.
  3348. Changed format and entry of edit port, edit system.
  3349. Fixed busy call being added to beacon text.
  3350. Added YF display of forward file name.
  3351. Corrected WP file update, and bulletin bid check.
  3352.  
  3353. Appendix A ----------------- CHANGES --------------------------------- Page 3
  3354. (Continued)
  3355.       Changes from 6.0 to 6.2 Starting 4/10/1989
  3356.  
  3357. Revised parsing routine for send line xxxxx@yyyyy.
  3358. Added KA to kill mail but NOT archive.
  3359. Fixed minor bug on DW and KT generation.
  3360. Added '$' status for fully forwarded distribution.
  3361. Now auto-kill of stale messages from config option.
  3362. Fixed dos command operation on manual forward.
  3363. Log entry for start and quit of bbs.
  3364. Log file now changes at end of month, with new log file created.
  3365.  
  3366.       Changes from 6.2 to 6.4 Starting 5/15/1989
  3367.  
  3368. Shpaths set up now for 40 or 80 column display. (Commodore users)
  3369. Automatic hierarchical routing using a modified W9ZRX's state file.
  3370. Added Read column to message listings.
  3371. In normal listing of messages a '*' indicates a hierarchical route used.
  3372. Edit message now uses STATES.MB for hierarchical route.
  3373.  
  3374.       Changes from 6.4 to 6.5 Starting 10/10/1989
  3375.  
  3376. Wild-cards now allowed in STATES.MB for hierarchical routes.
  3377. Small bug fixed using hierarchical server.
  3378. Fix for WP server to use hierarchical server.
  3379. Truncated title line for sysop listings. ";" overides.
  3380. Code now uses about 2k less memory.
  3381. Local listing now pages.
  3382. New varable for *vers.
  3383. Kill multiple messages for sysop. Up to 4 messages.
  3384. Adjusted parsehd for message numbers.
  3385. Small revision in puser and shpaths.
  3386. Allowed revision numbers to be used in SID.
  3387. Sysop doing RM now sees headers.
  3388. P command now searches STATES.MB for bbs address and comments.
  3389.  
  3390.       Changes from 6.5 to 6.6 Starting  2/10/1990
  3391.  
  3392. Message size can be limited on forwarding "<>0312 XXXX".
  3393. Unique BID and internal header BID are stored together in BID file.
  3394. Fixed small bug in MBRESTM for busy's.
  3395. Added check for graphic character in To field.
  3396. Small change on parsing of internal headers.
  3397. Held bulletins not seen by users.
  3398. Send-multiple (S!) allowed for users
  3399. Change in the parsing of headers; Now done when message is received.
  3400. Mail with your header in it now put on hold. (Ping-pong)
  3401. Forward file used can be changed from forward file.
  3402. Special wild-card '!' matches any digit only.
  3403.  
  3404.       Changes from 6.6 to 6.7 Starting 8/20/1990
  3405.  
  3406. Disconnected busy message text corrected.
  3407. Disconnect in lstmsg now halts dump of messages.
  3408. Must use valid callsign for homebbs.
  3409. RM doesn't show killed messages.
  3410. Forward bbs now shown in list headers.
  3411. Fixed small bug in listing of messages by sysop.
  3412. Hold of ping-pong messages now config param.
  3413. New method of smart bbs handshaking used.
  3414. Small bug in MBRESTM corrected for runumbered messages.
  3415. (1) New Bulletin purging routine.
  3416.  
  3417. Appendix B ------------------ CONFIG.MB ------------------------------ Page 1
  3418.  
  3419.           SAMPLE CONFIG.MB for single port:
  3420.  
  3421. A123UDTIX   360 20 600 100 10 2 53 6 15
  3422. -> 145.01 Mhz.
  3423. LCUDE       300 10 600 100 10 0 53 8 15
  3424. -> Stations Connected
  3425. *** EOF
  3426. ADU
  3427. C:\oscar\
  3428. --> Amsat / Oscar
  3429. BDU
  3430. C:\files\
  3431. --> General information
  3432. CDU
  3433. C:\cuser\
  3434. --> Commadore 64 Users
  3435. DDU
  3436. C:\nts\
  3437. --> NTS \ ARES / RACES
  3438. FDU
  3439. C:\arrl\
  3440. --> ARRL / W5YI Material
  3441. HDU
  3442. C:\hamfest\
  3443. --> Hamfests and Related EVENTS
  3444. MDU
  3445. C:\map\
  3446. --> Packet MAPS
  3447. NDU
  3448. C:\net\
  3449. --> Net/Rom Information
  3450. *** EOF
  3451. K3RLI
  3452. ALLBBS DUMP
  3453. ALLUSA DUMP
  3454. ARL ARL
  3455. AMSAT AMSAT
  3456. *** EOF
  3457. hold
  3458. *** EOF
  3459. Hello $I, Welcome to the $O MailBox from $W in $Q
  3460. Last logged at $Y on $X.
  3461. Type H for help, L to list new messages.
  3462. *** EOF
  3463. $O>
  3464. $D/$T, $L, $N msgs>$H
  3465. $U de $O: at $Tz on $D ?,B,C,D,H,I,J,K,L,M,N,P,R,S,T,U,V,W >
  3466. K3RLI
  3467. Wilkes-Barre
  3468. AD8I
  3469. \mb\HELP.MB
  3470. \mb\INFO.MB
  3471. \mb\bbs\FWD.MB
  3472. \mb\bbs\LOG.A (For other windows use LOG.B, ect)
  3473. \mb\bbs\MON.A (For other windows use MON.B, ect)
  3474. \mb\bbs\MAIL.DAT
  3475.  
  3476. Appendix B rev 1------------- CONFIG.MB ------------------------------ Page 2
  3477. (Continued)
  3478.  
  3479. \mb\bbs\MAIL.BAK
  3480. \mb\bbs\USER.DAT
  3481. \mb\bbs\USER.BAK
  3482. \mb\msgs\
  3483. \mb\BID.MB
  3484. \mb\bbs\CALLS.A (For other windows use CALLS.B, ect.)
  3485. \mb\bbs\STATES.MB
  3486. 10  (Max # of Calls in calls.mb)
  3487. YES 02 (Autocompress [GM] mail file at XX hour)
  3488. YES (Using DESQview = YES)
  3489. YES (Prompt name)
  3490. YES (Prompt bbs)
  3491. YES (Prompt zip)
  3492. YES (Turn on logging)
  3493. YES (Log GateWay events)
  3494. YES (Log file transfers)
  3495. YES (Log message events)
  3496. NO (Log local events)
  3497. F (Control char to kick user off system)
  3498. E (Control char to return from talk mode)
  3499. E (Control char to interrupt user and talk)
  3500. E (Control char to interrupt idle MailBox and get local menu)
  3501. Any key to continue, Q to Quit.$H
  3502. $S ($W) is using the MailBox.
  3503. $R tried to connect.
  3504. Please stand by, $W would like to talk to you.
  3505. Hang on one minute, I will page $W.
  3506. $W did not answer, you might leave a message to K3RLI in the MailBox.
  3507. $S ($W) would like to talk to you.
  3508. The GateWay is not available.
  3509. You are linked to the other TNC. ^W returns to menu.
  3510. Attempting the connection on $F. ^W will abort.
  3511. Connection not established.
  3512. Connection established. ^W to disconnect.
  3513. Connection aborted.
  3514. You are listening to $F. Type anything to return to menu.
  3515. Enter TITLE for message:
  3516. Enter message #$C, ^Z (CTL-Z) to end:
  3517. You have new mail, $I, Type R <space> Msg# to read it:
  3518. Msg#  TR  Size  To    From   @ BBS Read Date/Time     Title
  3519. R:$J/$Kz $M@$O [$Q] Z:18702
  3520. Mail file empty.
  3521. Untangling Mail.
  3522. *** Killed message $M
  3523. New TO or <cr> to retain:
  3524. New @ BBS or <cr> to retain:
  3525. New TITLE or <cr> to retain:
  3526. New TYPE or <cr> to retain:
  3527. *** Sorry, That is not a NTS Traffic Message.
  3528. 20  (Max calls in BT list, 1 = no beacon )
  3529. 99  (Max bbs with msg to fwd to)
  3530. YES (Kill regular message after forward)
  3531. NO  (Kill type F & B message after forward)
  3532. NO  (Generate svc msg on KT)
  3533. YES YES [(Enable ET Command) (Enable ping-pong hold)]
  3534.  
  3535. Appendix B ------------------ CONFIG.MB ----------------------------- Page 3
  3536. (Continued)
  3537.  
  3538.  
  3539. 45  YES  5 2 7 4 21 10 (Bulletin check line) Yes = Kill
  3540. 10   NO  (Age of NTS messages when marked as stale, days. kill?)
  3541. 30  NO  (Age of User Messages when marked as stale, days. kill?)
  3542. Send the file, ^Z (CTL-Z) to end.
  3543. N_Name
  3544. Compressing the user file.
  3545. --Call   Date Time Logd   Msg Hm BBS I PLBEDSX  Name        Zip
  3546. EDIT:   Y to delete, Q to Quit    <cr> to retain:$H
  3547. *** Please Enter N (name) to enter your name.
  3548. *** Please Enter NH (call) to enter the BBS where you get your mail.
  3549. *** Please Enter NZ (zip) to enter your ZIP code.
  3550. *** MailBox can't do it, probably a hardware problem.
  3551. *** None Found
  3552. *** Not your message.
  3553. *** There is alreay a file with that name.
  3554. *** Sorry - Timeout!!! -
  3555. *** What?
  3556. *** Done
  3557. *** No such Port.
  3558. *** No such Directory.
  3559. *** File not found: $H
  3560. *** Message not found.
  3561. *** Port is in use.
  3562. PASSWORD goes here -- 64 characters ----
  3563.  
  3564.